]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/meta-expected-error-correct-rev.a.stderr
Auto merge of #62339 - pnkfelix:issue-61188-use-visitor-for-structural-match-check...
[rust.git] / src / test / ui / meta-expected-error-correct-rev.a.stderr
index 901bdcd8e4a7e75a5f635cad742daa90309a6302..db1d5070e7fa18ca449978c8cbd658133b1a607b 100644 (file)
@@ -3,6 +3,10 @@ error[E0308]: mismatched types
    |
 LL |     let x: u32 = 22_usize;
    |                  ^^^^^^^^ expected u32, found usize
+help: change the type of the numeric literal from `usize` to `u32`
+   |
+LL |     let x: u32 = 22_u32;
+   |                  ^^^^^^
 
 error: aborting due to previous error