]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/auto-ref-slice-plus-ref.stderr
improve unknown enum variant errors
[rust.git] / src / test / ui / auto-ref-slice-plus-ref.stderr
index 97b9cd961a0267482ca758eaaeb63079532193ae..f2e0d379d1b3084416f4805c882922847f2d8e4b 100644 (file)
@@ -2,7 +2,7 @@ error[E0599]: no method named `test_mut` found for type `std::vec::Vec<{integer}
   --> $DIR/auto-ref-slice-plus-ref.rs:7:7
    |
 LL |     a.test_mut();
-   |       ^^^^^^^^ help: did you mean: `get_mut`
+   |       ^^^^^^^^ help: there is a method with a similar name: `get_mut`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
    = note: the following trait defines an item `test_mut`, perhaps you need to implement it: