]> git.proxmox.com Git - rustc.git/blame - src/test/rustdoc-ui/intra-doc/ambiguity.stderr
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / rustdoc-ui / intra-doc / ambiguity.stderr
CommitLineData
fc512014
XL
1error: `true` is both a module and a builtin type
2 --> $DIR/ambiguity.rs:38:6
532ac7d7 3 |
fc512014
XL
4LL | /// [true]
5 | ^^^^ ambiguous link
532ac7d7 6 |
74b04a01 7note: the lint level is defined here
fc512014 8 --> $DIR/ambiguity.rs:1:9
532ac7d7 9 |
6a06907d
XL
10LL | #![deny(rustdoc::broken_intra_doc_links)]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
fc512014
XL
12help: to link to the module, prefix with `mod@`
13 |
14LL | /// [mod@true]
15 | ^^^^^^^^
16help: to link to the builtin type, prefix with `prim@`
17 |
18LL | /// [prim@true]
19 | ^^^^^^^^^
20
21error: `ambiguous` is both a struct and a function
22 --> $DIR/ambiguity.rs:27:6
23 |
24LL | /// [`ambiguous`] is ambiguous.
25 | ^^^^^^^^^^^ ambiguous link
26 |
1b1a35ee 27help: to link to the struct, prefix with `struct@`
532ac7d7
XL
28 |
29LL | /// [`struct@ambiguous`] is ambiguous.
30 | ^^^^^^^^^^^^^^^^^^
31help: to link to the function, add parentheses
32 |
33LL | /// [`ambiguous()`] is ambiguous.
34 | ^^^^^^^^^^^^^
35
36error: `ambiguous` is both a struct and a function
fc512014 37 --> $DIR/ambiguity.rs:29:6
532ac7d7
XL
38 |
39LL | /// [ambiguous] is ambiguous.
40 | ^^^^^^^^^ ambiguous link
e74abb32 41 |
1b1a35ee 42help: to link to the struct, prefix with `struct@`
532ac7d7
XL
43 |
44LL | /// [struct@ambiguous] is ambiguous.
45 | ^^^^^^^^^^^^^^^^
46help: to link to the function, add parentheses
47 |
48LL | /// [ambiguous()] is ambiguous.
49 | ^^^^^^^^^^^
50
51error: `multi_conflict` is a struct, a function, and a macro
fc512014 52 --> $DIR/ambiguity.rs:31:6
532ac7d7
XL
53 |
54LL | /// [`multi_conflict`] is a three-way conflict.
55 | ^^^^^^^^^^^^^^^^ ambiguous link
e74abb32 56 |
1b1a35ee 57help: to link to the struct, prefix with `struct@`
532ac7d7
XL
58 |
59LL | /// [`struct@multi_conflict`] is a three-way conflict.
60 | ^^^^^^^^^^^^^^^^^^^^^^^
61help: to link to the function, add parentheses
62 |
63LL | /// [`multi_conflict()`] is a three-way conflict.
64 | ^^^^^^^^^^^^^^^^^^
65help: to link to the macro, add an exclamation mark
66 |
67LL | /// [`multi_conflict!`] is a three-way conflict.
68 | ^^^^^^^^^^^^^^^^^
69
70error: `type_and_value` is both a module and a constant
fc512014 71 --> $DIR/ambiguity.rs:33:16
532ac7d7
XL
72 |
73LL | /// Ambiguous [type_and_value].
74 | ^^^^^^^^^^^^^^ ambiguous link
e74abb32 75 |
1b1a35ee 76help: to link to the module, prefix with `mod@`
532ac7d7 77 |
1b1a35ee
XL
78LL | /// Ambiguous [mod@type_and_value].
79 | ^^^^^^^^^^^^^^^^^^
80help: to link to the constant, prefix with `const@`
532ac7d7
XL
81 |
82LL | /// Ambiguous [const@type_and_value].
83 | ^^^^^^^^^^^^^^^^^^^^
84
85error: `foo::bar` is both an enum and a function
fc512014 86 --> $DIR/ambiguity.rs:35:42
532ac7d7
XL
87 |
88LL | /// Ambiguous non-implied shortcut link [`foo::bar`].
89 | ^^^^^^^^^^ ambiguous link
e74abb32 90 |
1b1a35ee 91help: to link to the enum, prefix with `enum@`
532ac7d7
XL
92 |
93LL | /// Ambiguous non-implied shortcut link [`enum@foo::bar`].
94 | ^^^^^^^^^^^^^^^
95help: to link to the function, add parentheses
96 |
97LL | /// Ambiguous non-implied shortcut link [`foo::bar()`].
98 | ^^^^^^^^^^^^
99
29967ef6 100error: aborting due to 6 previous errors
532ac7d7 101