Skip to content

Commit 63b66bf

Browse files
committed
Update tests which reference E0421
1 parent 1138866 commit 63b66bf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/test/compile-fail/issue-21221-2.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ pub mod baz {
2727
struct Foo;
2828
impl T for Foo { }
2929
//~^ ERROR trait `T` is not in scope
30-
//~| HELP you can to import it into scope: `use foo::bar::T;`.
30+
//~| HELP you can import it into scope: `use foo::bar::T;`.
3131
//~| HELP run `rustc --explain E0405` to see a detailed explanation

src/test/compile-fail/issue-21221-3.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ struct Foo;
2424
// are hidden from the view.
2525
impl OuterTrait for Foo {}
2626
//~^ ERROR trait `OuterTrait` is not in scope
27-
//~| HELP you can to import it into scope: `use issue_21221_3::outer::OuterTrait;`.
27+
//~| HELP you can import it into scope: `use issue_21221_3::outer::OuterTrait;`.
2828
//~| HELP run `rustc --explain E0405` to see a detailed explanation
2929
fn main() {
3030
println!("Hello, world!");

src/test/compile-fail/issue-21221-4.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ struct Foo;
1919

2020
impl T for Foo {}
2121
//~^ ERROR trait `T` is not in scope
22-
//~| HELP you can to import it into scope: `use issue_21221_4::T;`.
22+
//~| HELP you can import it into scope: `use issue_21221_4::T;`.
2323
//~| HELP run `rustc --explain E0405` to see a detailed explanation
2424

2525
fn main() {

0 commit comments

Comments
 (0)