]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/indexing-requires-a-uint.stderr
Auto merge of #86155 - alexcrichton:abort-on-unwind, r=nikomatsakis
[rust.git] / src / test / ui / indexing-requires-a-uint.stderr
index 31fcd4b1c2e336e4d16a40a6f938913c4dd71623..3152dec30a0e6cf4b613b5387f394bd591ccc515 100644 (file)
@@ -13,7 +13,7 @@ error[E0308]: mismatched types
 LL |     bar::<isize>(i);  // i should not be re-coerced back to an isize
    |                  ^ expected `isize`, found `usize`
    |
-help: you can convert an `usize` to `isize` and panic if the converted value wouldn't fit
+help: you can convert a `usize` to an `isize` and panic if the converted value doesn't fit
    |
 LL |     bar::<isize>(i.try_into().unwrap());  // i should not be re-coerced back to an isize
    |                  ^^^^^^^^^^^^^^^^^^^^^