]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-8761.stderr
New upstream version 1.49.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-8761.stderr
CommitLineData
8faf50e0 1error[E0308]: mismatched types
0731742a 2 --> $DIR/issue-8761.rs:2:9
8faf50e0
XL
3 |
4LL | A = 1i64,
d9bb1a4e 5 | ^^^^ expected `isize`, found `i64`
e74abb32 6 |
48663c56
XL
7help: change the type of the numeric literal from `i64` to `isize`
8 |
9LL | A = 1isize,
10 | ^^^^^^
8faf50e0
XL
11
12error[E0308]: mismatched types
0731742a 13 --> $DIR/issue-8761.rs:5:9
8faf50e0
XL
14 |
15LL | B = 2u8
d9bb1a4e 16 | ^^^ expected `isize`, found `u8`
e74abb32 17 |
48663c56
XL
18help: change the type of the numeric literal from `u8` to `isize`
19 |
20LL | B = 2isize
21 | ^^^^^^
8faf50e0
XL
22
23error: aborting due to 2 previous errors
24
25For more information about this error, try `rustc --explain E0308`.