about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-09-14 22:35:41 -0700
committerGitHub <noreply@github.com>2020-09-14 22:35:41 -0700
commit792b2ea5812a06fe3d362ae36025998af66199ee (patch)
treec66f9dbc8ccb549f16ebed680c8e3d581ae95af1 /src
parent6f1fa2b16376f586285453045788519df527a1b2 (diff)
downloadrust-792b2ea5812a06fe3d362ae36025998af66199ee.tar.gz
rust-792b2ea5812a06fe3d362ae36025998af66199ee.zip
Update src/doc/rustdoc/src/lints.md
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
Diffstat (limited to 'src')
-rw-r--r--src/doc/rustdoc/src/lints.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustdoc/src/lints.md b/src/doc/rustdoc/src/lints.md
index 89aeb683682..5424a01edb6 100644
--- a/src/doc/rustdoc/src/lints.md
+++ b/src/doc/rustdoc/src/lints.md
@@ -25,11 +25,11 @@ pub fn foo() {}
 You'll get a warning saying:
 
 ```text
-warning: `[Nonexistent]` cannot be resolved, ignoring it.
+warning: unresolved link to `Nonexistent`
  --> test.rs:1:24
   |
 1 | /// I want to link to [`Nonexistent`] but it doesn't exist!
-  |                        ^^^^^^^^^^^^^ cannot be resolved, ignoring
+  |                        ^^^^^^^^^^^^^ no item named `Nonexistent` in `test`
 ```
 
 It will also warn when there is an ambiguity and suggest how to disambiguate: