about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/intra-link-errors.rs
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2020-10-02 18:00:57 -0700
committerCamelid <camelidcamel@gmail.com>2020-10-02 18:00:57 -0700
commit21fb9dfa8d49d6aa3e74dfcc7032badcd6f51b91 (patch)
tree955a0fc9e3f9f31301edfa30c9ee3f89216f2d15 /src/test/rustdoc-ui/intra-link-errors.rs
parent0193a8871cc2c2cca2de03243097519ce6c910ce (diff)
downloadrust-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.rs4
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