]> git.proxmox.com Git - rustc.git/blob - tests/ui/error-codes/E0435.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / error-codes / E0435.stderr
1 error[E0435]: attempt to use a non-constant value in a constant
2 --> $DIR/E0435.rs:5:17
3 |
4 LL | let foo: usize = 42;
5 | ------- help: consider using `const` instead of `let`: `const foo`
6 LL | let _: [u8; foo];
7 | ^^^ non-constant value
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0435`.