]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/tutorial-suffix-inference-test.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / tutorial-suffix-inference-test.stderr
index f9974acfb7071c2d2a359d8319b69d333b985cc1..ac1027ff34a131d47b0cb248a30ec5646f2fbdfa 100644 (file)
@@ -16,7 +16,7 @@ LL |     identity_u16(y);
 help: you can convert an `i32` to a `u16` and panic if the converted value doesn't fit
    |
 LL |     identity_u16(y.try_into().unwrap());
-   |                  ^^^^^^^^^^^^^^^^^^^^^
+   |                  ~~~~~~~~~~~~~~~~~~~~~
 
 error[E0308]: mismatched types
   --> $DIR/tutorial-suffix-inference-test.rs:21:18
@@ -27,7 +27,7 @@ LL |     identity_u16(a);
 help: you can convert an `isize` to a `u16` and panic if the converted value doesn't fit
    |
 LL |     identity_u16(a.try_into().unwrap());
-   |                  ^^^^^^^^^^^^^^^^^^^^^
+   |                  ~~~~~~~~~~~~~~~~~~~~~
 
 error: aborting due to 3 previous errors