]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/auto-ref-slice-plus-ref.stderr
Rollup merge of #70038 - DutchGhost:const-forget-tests, r=RalfJung
[rust.git] / src / test / ui / auto-ref-slice-plus-ref.stderr
index 50ca5cad4bc6893d39dcdd3201e9161e73fe80f1..dc7deb8a7c7ac385783878cff2ddf6c0c48762c9 100644 (file)
@@ -2,7 +2,7 @@ error[E0599]: no method named `test_mut` found for struct `std::vec::Vec<{intege
   --> $DIR/auto-ref-slice-plus-ref.rs:7:7
    |
 LL |     a.test_mut();
-   |       ^^^^^^^^ help: there is a method with a similar name: `get_mut`
+   |       ^^^^^^^^ help: there is an associated function with a similar name: `get_mut`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
 note: `MyIter` defines an item `test_mut`, perhaps you need to implement it