1
Fork 0

Update tests which reference E0421

This commit is contained in:
tiehuis 2016-03-20 19:18:32 +13:00
parent 1138866b1f
commit 63b66bfbcd
3 changed files with 3 additions and 3 deletions

View 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

View file

@ -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!");

View file

@ -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() {