diff options
Diffstat (limited to 'tests/ui/impl-trait/method-resolution3.rs')
| -rw-r--r-- | tests/ui/impl-trait/method-resolution3.rs | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/tests/ui/impl-trait/method-resolution3.rs b/tests/ui/impl-trait/method-resolution3.rs index 8474e2da7db..8c47ef4fc75 100644 --- a/tests/ui/impl-trait/method-resolution3.rs +++ b/tests/ui/impl-trait/method-resolution3.rs @@ -16,12 +16,10 @@ impl Bar<i32> { } fn foo(x: bool) -> Bar<impl Sized> { - //[current]~^ ERROR: cycle if x { let x = foo(false); x.bar(); - //[current]~^ ERROR: no method named `bar` - //[next]~^^ ERROR: multiple applicable items in scope + //~^ ERROR: multiple applicable items in scope } todo!() } | 
