]> git.proxmox.com Git - rustc.git/blob - src/test/rustdoc-ui/intra-link-prim-conflict.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / rustdoc-ui / intra-link-prim-conflict.stderr
1 error: `char` is both a module and a builtin type
2 --> $DIR/intra-link-prim-conflict.rs:4:6
3 |
4 LL | /// [char]
5 | ^^^^ ambiguous link
6 |
7 note: the lint level is defined here
8 --> $DIR/intra-link-prim-conflict.rs:1:9
9 |
10 LL | #![deny(broken_intra_doc_links)]
11 | ^^^^^^^^^^^^^^^^^^^^^^
12 help: to link to the module, prefix with `mod@`
13 |
14 LL | /// [mod@char]
15 | ^^^^^^^^
16 help: to link to the builtin type, prefix with `prim@`
17 |
18 LL | /// [prim@char]
19 | ^^^^^^^^^
20
21 error: `char` is both a module and a builtin type
22 --> $DIR/intra-link-prim-conflict.rs:10:6
23 |
24 LL | /// [type@char]
25 | ^^^^^^^^^ ambiguous link
26 |
27 help: to link to the module, prefix with `mod@`
28 |
29 LL | /// [mod@char]
30 | ^^^^^^^^
31 help: to link to the builtin type, prefix with `prim@`
32 |
33 LL | /// [prim@char]
34 | ^^^^^^^^^
35
36 error: incompatible link kind for `char`
37 --> $DIR/intra-link-prim-conflict.rs:19:6
38 |
39 LL | /// [struct@char]
40 | ^^^^^^^^^^^ help: to link to the module, prefix with `mod@`: `mod@char`
41 |
42 = note: this link resolved to a module, which is not a struct
43
44 error: incompatible link kind for `char`
45 --> $DIR/intra-link-prim-conflict.rs:26:10
46 |
47 LL | //! [struct@char]
48 | ^^^^^^^^^^^ help: to link to the builtin type, prefix with `prim@`: `prim@char`
49 |
50 = note: this link resolved to a builtin type, which is not a struct
51
52 error: aborting due to 4 previous errors
53