]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/nested_erroneous_ctfe.stderr
Auto merge of #106090 - WaffleLapkin:dereffffffffff, r=Nilstrieb
[rust.git] / tests / 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`.