summaryrefslogtreecommitdiffstats
path: root/src/test/ui/auto-ref-slice-plus-ref.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/auto-ref-slice-plus-ref.stderr')
-rw-r--r--src/test/ui/auto-ref-slice-plus-ref.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/auto-ref-slice-plus-ref.stderr b/src/test/ui/auto-ref-slice-plus-ref.stderr
index eb8447ff0..e28830507 100644
--- a/src/test/ui/auto-ref-slice-plus-ref.stderr
+++ b/src/test/ui/auto-ref-slice-plus-ref.stderr
@@ -2,7 +2,7 @@ error[E0599]: no method named `test_mut` found for struct `Vec<{integer}>` in th
--> $DIR/auto-ref-slice-plus-ref.rs:7:7
|
LL | a.test_mut();
- | ^^^^^^^^ help: there is an associated function with a similar name: `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: `MyIter` defines an item `test_mut`, perhaps you need to implement it