]> git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/issue-69310-array-size-lit-wrong-ty.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / consts / issue-69310-array-size-lit-wrong-ty.stderr
1 error[E0308]: mismatched types
2 --> $DIR/issue-69310-array-size-lit-wrong-ty.rs:10:15
3 |
4 LL | const A: [(); 0.1] = [()];
5 | ^^^ expected `usize`, found floating-point number
6
7 error[E0308]: mismatched types
8 --> $DIR/issue-69310-array-size-lit-wrong-ty.rs:11:15
9 |
10 LL | const B: [(); b"a"] = [()];
11 | ^^^^ expected `usize`, found `&[u8; 1]`
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0308`.