error[E0435]: attempt to use a non-constant value in a constant
- --> $DIR/issue-44239.rs:16:26
+ --> $DIR/issue-44239.rs:6:26
|
+LL | let n = 0;
+ | - help: consider using `const` instead of `let`
+...
LL | const N: usize = n;
| ^ non-constant value