about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/compile-fail/issue-21221-2.rs2
-rw-r--r--src/test/compile-fail/issue-21221-3.rs2
-rw-r--r--src/test/compile-fail/issue-21221-4.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/test/compile-fail/issue-21221-2.rs b/src/test/compile-fail/issue-21221-2.rs
index f031b62214d..cf5c6e8a3b4 100644
--- a/src/test/compile-fail/issue-21221-2.rs
+++ b/src/test/compile-fail/issue-21221-2.rs
@@ -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
diff --git a/src/test/compile-fail/issue-21221-3.rs b/src/test/compile-fail/issue-21221-3.rs
index eee2c016451..a1a712d1421 100644
--- a/src/test/compile-fail/issue-21221-3.rs
+++ b/src/test/compile-fail/issue-21221-3.rs
@@ -24,7 +24,7 @@ struct Foo;
 // 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!");
diff --git a/src/test/compile-fail/issue-21221-4.rs b/src/test/compile-fail/issue-21221-4.rs
index 6a76264dff7..1ef205bd8be 100644
--- a/src/test/compile-fail/issue-21221-4.rs
+++ b/src/test/compile-fail/issue-21221-4.rs
@@ -19,7 +19,7 @@ struct Foo;
 
 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() {