about summary refs log tree commit diff
path: root/tests/ui/impl-trait/call_method_on_inherent_impl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/impl-trait/call_method_on_inherent_impl.rs')
-rw-r--r--tests/ui/impl-trait/call_method_on_inherent_impl.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/ui/impl-trait/call_method_on_inherent_impl.rs b/tests/ui/impl-trait/call_method_on_inherent_impl.rs
index 0e333c3260a..1dd38bc6717 100644
--- a/tests/ui/impl-trait/call_method_on_inherent_impl.rs
+++ b/tests/ui/impl-trait/call_method_on_inherent_impl.rs
@@ -1,6 +1,6 @@
 //@ revisions: current next
 //@[next] compile-flags: -Znext-solver
-//@[current] check-pass
+//@ check-pass
 
 trait MyDebug {
     fn my_debug(&self);
@@ -16,7 +16,6 @@ where
 fn my_foo() -> impl std::fmt::Debug {
     if false {
         let x = my_foo();
-        //[next]~^ ERROR type annotations needed
         x.my_debug();
     }
     ()