From 63b66bfbcdec1208998dae83d26a3b4d808551d8 Mon Sep 17 00:00:00 2001 From: tiehuis Date: Sun, 20 Mar 2016 19:18:32 +1300 Subject: [PATCH] Update tests which reference E0421 --- src/test/compile-fail/issue-21221-2.rs | 2 +- src/test/compile-fail/issue-21221-3.rs | 2 +- src/test/compile-fail/issue-21221-4.rs | 2 +- 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 f031b62214dc..cf5c6e8a3b4f 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 eee2c016451e..a1a712d14219 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 6a76264dff7b..1ef205bd8be8 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() {