]> git.lizzy.rs Git - rust.git/commitdiff
Update tests which reference E0421
authortiehuis <marctiehuis@gmail.com>
Sun, 20 Mar 2016 06:18:32 +0000 (19:18 +1300)
committertiehuis <marctiehuis@gmail.com>
Sun, 20 Mar 2016 06:18:32 +0000 (19:18 +1300)
src/test/compile-fail/issue-21221-2.rs
src/test/compile-fail/issue-21221-3.rs
src/test/compile-fail/issue-21221-4.rs

index f031b62214dcc7551568e46b8c814ff5cf22e084..cf5c6e8a3b4f09c0dca79d50436dbec4cd1e14ec 100644 (file)
@@ -27,5 +27,5 @@ pub mod baz {
 struct Foo;
 impl T for Foo { }
 //~^ ERROR trait `T` is not in scope
-//~| HELP you can to import it into scope: `use foo::bar::T;`.
+//~| HELP you can import it into scope: `use foo::bar::T;`.
 //~| HELP run `rustc --explain E0405` to see a detailed explanation
index eee2c016451e2cbdbbc26004b5df4552d6899296..a1a712d142197ddc485312fb68102fabbe71243a 100644 (file)
@@ -24,7 +24,7 @@
 // are hidden from the view.
 impl OuterTrait for Foo {}
 //~^ ERROR trait `OuterTrait` is not in scope
-//~| HELP you can to import it into scope: `use issue_21221_3::outer::OuterTrait;`.
+//~| HELP you can import it into scope: `use issue_21221_3::outer::OuterTrait;`.
 //~| HELP run `rustc --explain E0405` to see a detailed explanation
 fn main() {
     println!("Hello, world!");
index 6a76264dff7b081e43d00acd87560783202b0af0..1ef205bd8be8560a565fe03f4d2bd5a56fef7f7d 100644 (file)
@@ -19,7 +19,7 @@
 
 impl T for Foo {}
 //~^ ERROR trait `T` is not in scope
-//~| HELP you can to import it into scope: `use issue_21221_4::T;`.
+//~| HELP you can import it into scope: `use issue_21221_4::T;`.
 //~| HELP run `rustc --explain E0405` to see a detailed explanation
 
 fn main() {