]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/associated-types/associated-types-incomplete-object.rs
feat(rustdoc): open sidebar menu when links inside it are focused
[rust.git] / src / test / ui / associated-types / associated-types-incomplete-object.rs
index 4993b13121549323ba4bf354338a73cf56fc1cc3..4627dfd2b780822da2cee2682ca04318a955269f 100644 (file)
@@ -21,11 +21,11 @@ pub fn main() {
     let a = &42isize as &dyn Foo<A=usize, B=char>;
 
     let b = &42isize as &dyn Foo<A=usize>;
-    //~^ ERROR the value of the associated type `B` (from the trait `Foo`) must be specified
+    //~^ ERROR the value of the associated type `B` (from trait `Foo`) must be specified
 
     let c = &42isize as &dyn Foo<B=char>;
-    //~^ ERROR the value of the associated type `A` (from the trait `Foo`) must be specified
+    //~^ ERROR the value of the associated type `A` (from trait `Foo`) must be specified
 
     let d = &42isize as &dyn Foo;
-    //~^ ERROR the value of the associated types `A` (from the trait `Foo`), `B` (from the trait
+    //~^ ERROR the value of the associated types `A` (from trait `Foo`), `B` (from trait
 }