about summary refs log tree commit diff
path: root/tests/ui/attributes/rustc_confusables.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/attributes/rustc_confusables.stderr')
-rw-r--r--tests/ui/attributes/rustc_confusables.stderr12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/ui/attributes/rustc_confusables.stderr b/tests/ui/attributes/rustc_confusables.stderr
index 9e37d5f5083..dc71d974daf 100644
--- a/tests/ui/attributes/rustc_confusables.stderr
+++ b/tests/ui/attributes/rustc_confusables.stderr
@@ -36,7 +36,7 @@ LL |     x.inser();
 help: there is a method `insert` with a similar name
    |
 LL |     x.insert();
-   |       ~~~~~~
+   |            +
 
 error[E0599]: no method named `foo` found for struct `rustc_confusables_across_crate::BTreeSet` in the current scope
   --> $DIR/rustc_confusables.rs:15:7
@@ -52,8 +52,9 @@ LL |     x.push();
    |
 help: you might have meant to use `insert`
    |
-LL |     x.insert();
-   |       ~~~~~~
+LL -     x.push();
+LL +     x.insert();
+   |
 
 error[E0599]: no method named `test` found for struct `rustc_confusables_across_crate::BTreeSet` in the current scope
   --> $DIR/rustc_confusables.rs:20:7
@@ -69,8 +70,9 @@ LL |     x.pulled();
    |
 help: you might have meant to use `pull`
    |
-LL |     x.pull();
-   |       ~~~~
+LL -     x.pulled();
+LL +     x.pull();
+   |
 
 error: aborting due to 9 previous errors