Improve error messages
This commit is contained in:
parent
21fb9dfa8d
commit
aa9b718cf0
8 changed files with 39 additions and 40 deletions
|
@ -6,23 +6,23 @@
|
|||
|
||||
/// [path::to::nonexistent::module]
|
||||
//~^ ERROR unresolved link
|
||||
//~| NOTE there is no item named `path` in scope
|
||||
//~| NOTE no item named `path` in scope
|
||||
|
||||
/// [path::to::nonexistent::macro!]
|
||||
//~^ ERROR unresolved link
|
||||
//~| NOTE there is no item named `path` in scope
|
||||
//~| NOTE no item named `path` in scope
|
||||
|
||||
/// [type@path::to::nonexistent::type]
|
||||
//~^ ERROR unresolved link
|
||||
//~| NOTE there is no item named `path` in scope
|
||||
//~| NOTE no item named `path` in scope
|
||||
|
||||
/// [std::io::not::here]
|
||||
//~^ ERROR unresolved link
|
||||
//~| NOTE `io` contains no item named `not`
|
||||
//~| NOTE no item named `not` in module `io`
|
||||
|
||||
/// [type@std::io::not::here]
|
||||
//~^ ERROR unresolved link
|
||||
//~| NOTE `io` contains no item named `not`
|
||||
//~| NOTE no item named `not` in module `io`
|
||||
|
||||
/// [std::io::Error::x]
|
||||
//~^ ERROR unresolved link
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue