Skip to content

Commit 792b2ea

Browse files
ManishearthJoshua Nelson
and
Joshua Nelson
authored
Update src/doc/rustdoc/src/lints.md
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
1 parent 6f1fa2b commit 792b2ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/rustdoc/src/lints.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ pub fn foo() {}
2525
You'll get a warning saying:
2626

2727
```text
28-
warning: `[Nonexistent]` cannot be resolved, ignoring it.
28+
warning: unresolved link to `Nonexistent`
2929
--> test.rs:1:24
3030
|
3131
1 | /// I want to link to [`Nonexistent`] but it doesn't exist!
32-
| ^^^^^^^^^^^^^ cannot be resolved, ignoring
32+
| ^^^^^^^^^^^^^ no item named `Nonexistent` in `test`
3333
```
3434

3535
It will also warn when there is an ambiguity and suggest how to disambiguate:

0 commit comments

Comments
 (0)