diff options
| author | Camelid <camelidcamel@gmail.com> | 2020-10-02 18:00:57 -0700 | 
|---|---|---|
| committer | Camelid <camelidcamel@gmail.com> | 2020-10-02 18:00:57 -0700 | 
| commit | 21fb9dfa8d49d6aa3e74dfcc7032badcd6f51b91 (patch) | |
| tree | 955a0fc9e3f9f31301edfa30c9ee3f89216f2d15 /src/test/rustdoc-ui/intra-link-errors.rs | |
| parent | 0193a8871cc2c2cca2de03243097519ce6c910ce (diff) | |
| download | rust-21fb9dfa8d49d6aa3e74dfcc7032badcd6f51b91.tar.gz rust-21fb9dfa8d49d6aa3e74dfcc7032badcd6f51b91.zip  | |
Use old error when there's partial resolution
The new error was confusing when there was partial resolution (something like `std::io::nonexistent`); the old one is better for those cases.
Diffstat (limited to 'src/test/rustdoc-ui/intra-link-errors.rs')
| -rw-r--r-- | src/test/rustdoc-ui/intra-link-errors.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/rustdoc-ui/intra-link-errors.rs b/src/test/rustdoc-ui/intra-link-errors.rs index 872fb70bfc5..701fd6991c4 100644 --- a/src/test/rustdoc-ui/intra-link-errors.rs +++ b/src/test/rustdoc-ui/intra-link-errors.rs @@ -18,11 +18,11 @@ /// [std::io::not::here] //~^ ERROR unresolved link -//~| NOTE there is no item named `not` in scope +//~| NOTE `io` contains no item named `not` /// [type@std::io::not::here] //~^ ERROR unresolved link -//~| NOTE there is no item named `not` in scope +//~| NOTE `io` contains no item named `not` /// [std::io::Error::x] //~^ ERROR unresolved link  | 
