]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/wrong-ret-type.stderr
Rollup merge of #98640 - cuviper:stable-rust-analyzer, r=Mark-Simulacrum
[rust.git] / src / test / ui / wrong-ret-type.stderr
index 5498dae718f1e46605f70f7942a15b958fa6c4d2..c686a0b2f5aeaa4572b8d1847ea8995802d78f67 100644 (file)
@@ -9,7 +9,7 @@ LL | fn mk_int() -> usize { let i: isize = 3; return i; }
 help: you can convert an `isize` to a `usize` and panic if the converted value doesn't fit
    |
 LL | fn mk_int() -> usize { let i: isize = 3; return i.try_into().unwrap(); }
-   |                                                 ^^^^^^^^^^^^^^^^^^^^^
+   |                                                  ++++++++++++++++++++
 
 error: aborting due to previous error