Update tests which reference E0421
This commit is contained in:
parent
1138866b1f
commit
63b66bfbcd
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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!");
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue