Don't suggest \[ \] if there's a :: in the path
This commit is contained in:
parent
f2826d9e9b
commit
d67eb1f148
4 changed files with 20 additions and 24 deletions
|
@ -7,7 +7,6 @@
|
|||
/// [path::to::nonexistent::module]
|
||||
//~^ ERROR unresolved link
|
||||
//~| NOTE no item named `path` is in scope
|
||||
//~| HELP to escape
|
||||
|
||||
/// [std::io::not::here]
|
||||
//~^ ERROR unresolved link
|
||||
|
@ -67,7 +66,6 @@ impl S {
|
|||
/// [T::h!]
|
||||
//~^ ERROR unresolved link
|
||||
//~| NOTE no item named `T::h`
|
||||
//~| HELP to escape
|
||||
pub trait T {
|
||||
fn g() {}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue