]> git.lizzy.rs Git - rust.git/blob - src/test/ui/meta-expected-error-correct-rev.a.stderr
Auto merge of #62748 - luca-barbieri:optimize-refcell-borrow, r=RalfJung
[rust.git] / src / test / ui / meta-expected-error-correct-rev.a.stderr
1 error[E0308]: mismatched types
2   --> $DIR/meta-expected-error-correct-rev.rs:7:18
3    |
4 LL |     let x: u32 = 22_usize;
5    |                  ^^^^^^^^ expected u32, found usize
6 help: change the type of the numeric literal from `usize` to `u32`
7    |
8 LL |     let x: u32 = 22_u32;
9    |                  ^^^^^^
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0308`.