about summary refs log tree commit diff
path: root/tests/ui/impl-trait/method-resolution4.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/impl-trait/method-resolution4.rs')
-rw-r--r--tests/ui/impl-trait/method-resolution4.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/ui/impl-trait/method-resolution4.rs b/tests/ui/impl-trait/method-resolution4.rs
index 90e7850cad5..f90a9309cda 100644
--- a/tests/ui/impl-trait/method-resolution4.rs
+++ b/tests/ui/impl-trait/method-resolution4.rs
@@ -6,12 +6,11 @@
 
 //@ revisions: current next
 //@[next] compile-flags: -Znext-solver
-//@[current] check-pass
+//@ check-pass
 
 fn foo(b: bool) -> impl Iterator<Item = ()> {
     if b {
         foo(false).next().unwrap();
-        //[next]~^ ERROR type annotations needed
     }
     std::iter::empty()
 }