about summary refs log tree commit diff
path: root/tests/ui/traits/not-suggest-non-existing-fully-qualified-path.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/not-suggest-non-existing-fully-qualified-path.rs')
-rw-r--r--tests/ui/traits/not-suggest-non-existing-fully-qualified-path.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/ui/traits/not-suggest-non-existing-fully-qualified-path.rs b/tests/ui/traits/not-suggest-non-existing-fully-qualified-path.rs
index 538e74ee1b0..e9e2f6b1290 100644
--- a/tests/ui/traits/not-suggest-non-existing-fully-qualified-path.rs
+++ b/tests/ui/traits/not-suggest-non-existing-fully-qualified-path.rs
@@ -18,7 +18,5 @@ where
 
 fn main() {
     let a = A(B);
-    a.method();
-    //~^ ERROR type annotations needed
-    //~| ERROR type annotations needed
+    a.method(); //~ ERROR type annotations needed
 }