blob: 4b984f4f6c01605c2f2dc63806155945ae4f4ec7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
error: `str` is both a builtin type and a macro
--> $DIR/macro-rules-error.rs:17:6
|
LL | /// [str] FIXME: This error shouldn not be reported
| ^^^ ambiguous link
|
note: the lint level is defined here
--> $DIR/macro-rules-error.rs:5:9
|
LL | #![deny(rustdoc::broken_intra_doc_links)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: to link to the builtin type, prefix with `prim@`
|
LL | /// [prim@str] FIXME: This error shouldn not be reported
| +++++
help: to link to the macro, add an exclamation mark
|
LL | /// [str!] FIXME: This error shouldn not be reported
| +
error: aborting due to previous error
|