]> git.proxmox.com Git - rustc.git/blame - src/test/ui/const-generics/issues/issue-62456.stderr
New upstream version 1.47.0+dfsg1
[rustc.git] / src / test / ui / const-generics / issues / issue-62456.stderr
CommitLineData
f9f354fc 1warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes
ba9703b0
XL
2 --> $DIR/issue-62456.rs:1:12
3 |
4LL | #![feature(const_generics)]
5 | ^^^^^^^^^^^^^^
6 |
7 = note: `#[warn(incomplete_features)]` on by default
f9f354fc 8 = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
ba9703b0
XL
9
10error: constant expression depends on a generic parameter
11 --> $DIR/issue-62456.rs:5:20
12 |
13LL | let _ = [0u64; N + 1];
14 | ^^^^^
15 |
16 = note: this may fail depending on what value the parameter takes
17
18error: aborting due to previous error; 1 warning emitted
19