]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/nested_erroneous_ctfe.stderr
Rollup merge of #98609 - TaKO8Ki:fix-ice-for-associated-constant-generics, r=lcnr
[rust.git] / src / test / ui / consts / nested_erroneous_ctfe.stderr
1 error[E0308]: mismatched types
2   --> $DIR/nested_erroneous_ctfe.rs:2:16
3    |
4 LL |     [9; || [9; []]];
5    |                ^^ expected `usize`, found array of 0 elements
6    |
7    = note: expected type `usize`
8              found array `[_; 0]`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.