]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-5153.rs
Unify output of "variant not found" errors
[rust.git] / src / test / ui / issues / issue-5153.rs
index e6737662088f2081e569a6f595aaa16886cc4186..5bf0579030ad01a341ba7e1596741e2600ec2679 100644 (file)
@@ -8,5 +8,5 @@ fn foo(self: Box<isize>) { }
 
 fn main() {
     (&5isize as &dyn Foo).foo();
-    //~^ ERROR: no method named `foo` found for type `&dyn Foo` in the current scope
+    //~^ ERROR: no method named `foo` found for reference `&dyn Foo` in the current scope
 }