]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/issue-90878.stderr
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / ui / consts / issue-90878.stderr
1 error[E0435]: attempt to use a non-constant value in a constant
2   --> $DIR/issue-90878.rs:2:20
3    |
4 LL |     |x: usize| [0; x];
5    |      -             ^
6    |      |
7    |      this would need to be a `const`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0435`.