]> git.proxmox.com Git - rustc.git/blob - tests/ui/consts/nested_erroneous_ctfe.stderr
New upstream version 1.68.2+dfsg1
[rustc.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`.