diff options
Diffstat (limited to 'src/test/ui/methods/method-self-arg-1.rs')
| -rw-r--r-- | src/test/ui/methods/method-self-arg-1.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/methods/method-self-arg-1.rs b/src/test/ui/methods/method-self-arg-1.rs index 48be31d94f2..4a78ad780c4 100644 --- a/src/test/ui/methods/method-self-arg-1.rs +++ b/src/test/ui/methods/method-self-arg-1.rs @@ -15,5 +15,5 @@ fn main() { Foo::bar(&42); //~ ERROR mismatched types //~| expected type `&Foo` //~| found type `&{integer}` - //~| expected struct `Foo`, found integral variable + //~| expected struct `Foo`, found integer } |
