]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error[E0435]: attempt to use a non-constant value in a constant |
5869c6ff | 2 | --> $DIR/issue-3521.rs:8:15 |
8faf50e0 | 3 | | |
5869c6ff XL |
4 | LL | let foo: isize = 100; |
5 | | ------- help: consider using `const` instead of `let`: `const foo` | |
6 | ... | |
8faf50e0 XL |
7 | LL | Bar = foo |
8 | | ^^^ non-constant value | |
9 | ||
10 | error: aborting due to previous error | |
11 | ||
12 | For more information about this error, try `rustc --explain E0435`. |