Print correct crate name
This commit is contained in:
parent
00e70051dc
commit
c65d33819c
2 changed files with 5 additions and 3 deletions
|
|
@ -25,9 +25,9 @@ fn main() {
|
|||
extern crate crate_a1 as a;
|
||||
a::try_foo(foo2); //~ ERROR mismatched types
|
||||
//~^ HELP run
|
||||
//~^^ NOTE Perhaps two different versions of crate `main`
|
||||
//~^^ NOTE Perhaps two different versions of crate `crate_a1`
|
||||
a::try_bar(bar2); //~ ERROR mismatched types
|
||||
//~^ HELP run
|
||||
//~^^ NOTE Perhaps two different versions of crate `main`
|
||||
//~^^ NOTE Perhaps two different versions of crate `crate_a1`
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue