about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/intra-link-errors.stderr
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2020-10-02 19:53:09 -0700
committerCamelid <camelidcamel@gmail.com>2020-10-02 19:53:09 -0700
commitaa9b718cf0d4157a81c5dcc8d59f2c4ed96b801e (patch)
tree54a7d5dbd4fb7a5ef0278e871cce051495077264 /src/test/rustdoc-ui/intra-link-errors.stderr
parent21fb9dfa8d49d6aa3e74dfcc7032badcd6f51b91 (diff)
downloadrust-aa9b718cf0d4157a81c5dcc8d59f2c4ed96b801e.tar.gz
rust-aa9b718cf0d4157a81c5dcc8d59f2c4ed96b801e.zip
Improve error messages
Diffstat (limited to 'src/test/rustdoc-ui/intra-link-errors.stderr')
-rw-r--r--src/test/rustdoc-ui/intra-link-errors.stderr10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/rustdoc-ui/intra-link-errors.stderr b/src/test/rustdoc-ui/intra-link-errors.stderr
index 8b12c721f78..31e7fc48afd 100644
--- a/src/test/rustdoc-ui/intra-link-errors.stderr
+++ b/src/test/rustdoc-ui/intra-link-errors.stderr
@@ -2,7 +2,7 @@ error: unresolved link to `path::to::nonexistent::module`
   --> $DIR/intra-link-errors.rs:7:6
    |
 LL | /// [path::to::nonexistent::module]
-   |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ there is no item named `path` in scope
+   |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `path` in scope
    |
 note: the lint level is defined here
   --> $DIR/intra-link-errors.rs:1:9
@@ -14,25 +14,25 @@ error: unresolved link to `path::to::nonexistent::macro`
   --> $DIR/intra-link-errors.rs:11:6
    |
 LL | /// [path::to::nonexistent::macro!]
-   |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ there is no item named `path` in scope
+   |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `path` in scope
 
 error: unresolved link to `path::to::nonexistent::type`
   --> $DIR/intra-link-errors.rs:15:6
    |
 LL | /// [type@path::to::nonexistent::type]
-   |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ there is no item named `path` in scope
+   |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `path` in scope
 
 error: unresolved link to `std::io::not::here`
   --> $DIR/intra-link-errors.rs:19:6
    |
 LL | /// [std::io::not::here]
-   |      ^^^^^^^^^^^^^^^^^^ the module `io` contains no item named `not`
+   |      ^^^^^^^^^^^^^^^^^^ no item named `not` in module `io`
 
 error: unresolved link to `std::io::not::here`
   --> $DIR/intra-link-errors.rs:23:6
    |
 LL | /// [type@std::io::not::here]
-   |      ^^^^^^^^^^^^^^^^^^^^^^^ the module `io` contains no item named `not`
+   |      ^^^^^^^^^^^^^^^^^^^^^^^ no item named `not` in module `io`
 
 error: unresolved link to `std::io::Error::x`
   --> $DIR/intra-link-errors.rs:27:6