]> git.proxmox.com Git - rustc.git/blob - src/test/rustdoc-ui/intra-doc/warning.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / rustdoc-ui / intra-doc / warning.stderr
1 warning: unresolved link to `Foo::baz`
2 --> $DIR/warning.rs:3:23
3 |
4 LL | //! Test with [Foo::baz], [Bar::foo], ...
5 | ^^^^^^^^ the struct `Foo` has no field or associated item named `baz`
6 |
7 = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
8
9 warning: unresolved link to `Bar::foo`
10 --> $DIR/warning.rs:3:35
11 |
12 LL | //! Test with [Foo::baz], [Bar::foo], ...
13 | ^^^^^^^^ no item named `Bar` in scope
14
15 warning: unresolved link to `Uniooon::X`
16 --> $DIR/warning.rs:6:13
17 |
18 LL | //! , [Uniooon::X] and [Qux::Z].
19 | ^^^^^^^^^^ no item named `Uniooon` in scope
20
21 warning: unresolved link to `Qux::Z`
22 --> $DIR/warning.rs:6:30
23 |
24 LL | //! , [Uniooon::X] and [Qux::Z].
25 | ^^^^^^ no item named `Qux` in scope
26
27 warning: unresolved link to `Uniooon::X`
28 --> $DIR/warning.rs:10:14
29 |
30 LL | //! , [Uniooon::X] and [Qux::Z].
31 | ^^^^^^^^^^ no item named `Uniooon` in scope
32
33 warning: unresolved link to `Qux::Z`
34 --> $DIR/warning.rs:10:31
35 |
36 LL | //! , [Uniooon::X] and [Qux::Z].
37 | ^^^^^^ no item named `Qux` in scope
38
39 warning: unresolved link to `Qux:Y`
40 --> $DIR/warning.rs:14:13
41 |
42 LL | /// [Qux:Y]
43 | ^^^^^ no item named `Qux:Y` in scope
44 |
45 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
46
47 warning: unresolved link to `BarA`
48 --> $DIR/warning.rs:21:10
49 |
50 LL | /// bar [BarA] bar
51 | ^^^^ no item named `BarA` in scope
52 |
53 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
54
55 warning: unresolved link to `BarB`
56 --> $DIR/warning.rs:27:9
57 |
58 LL | * bar [BarB] bar
59 | ^^^^ no item named `BarB` in scope
60 |
61 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
62
63 warning: unresolved link to `BarC`
64 --> $DIR/warning.rs:34:6
65 |
66 LL | bar [BarC] bar
67 | ^^^^ no item named `BarC` in scope
68 |
69 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
70
71 warning: unresolved link to `BarD`
72 --> $DIR/warning.rs:45:1
73 |
74 LL | #[doc = "Foo\nbar [BarD] bar\nbaz"]
75 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
76 |
77 = note: the link appears in this line:
78
79 bar [BarD] bar
80 ^^^^
81 = note: no item named `BarD` in scope
82 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
83
84 warning: unresolved link to `BarF`
85 --> $DIR/warning.rs:50:9
86 |
87 LL | #[doc = $f]
88 | ^^^^^^^^^^^
89 ...
90 LL | f!("Foo\nbar [BarF] bar\nbaz");
91 | ------------------------------ in this macro invocation
92 |
93 = note: the link appears in this line:
94
95 bar [BarF] bar
96 ^^^^
97 = note: no item named `BarF` in scope
98 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
99 = note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info)
100
101 warning: unresolved link to `error`
102 --> $DIR/warning.rs:58:30
103 |
104 LL | * time to introduce a link [error]*/
105 | ^^^^^ no item named `error` in scope
106 |
107 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
108
109 warning: unresolved link to `error`
110 --> $DIR/warning.rs:64:30
111 |
112 LL | * time to introduce a link [error]
113 | ^^^^^ no item named `error` in scope
114 |
115 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
116
117 warning: unresolved link to `error`
118 --> $DIR/warning.rs:68:1
119 |
120 LL | #[doc = "single line [error]"]
121 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
122 |
123 = note: the link appears in this line:
124
125 single line [error]
126 ^^^^^
127 = note: no item named `error` in scope
128 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
129
130 warning: unresolved link to `error`
131 --> $DIR/warning.rs:71:1
132 |
133 LL | #[doc = "single line with \"escaping\" [error]"]
134 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
135 |
136 = note: the link appears in this line:
137
138 single line with "escaping" [error]
139 ^^^^^
140 = note: no item named `error` in scope
141 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
142
143 warning: unresolved link to `error`
144 --> $DIR/warning.rs:74:1
145 |
146 LL | / /// Item docs.
147 LL | | #[doc="Hello there!"]
148 LL | | /// [error]
149 | |___________^
150 |
151 = note: the link appears in this line:
152
153 [error]
154 ^^^^^
155 = note: no item named `error` in scope
156 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
157
158 warning: unresolved link to `error1`
159 --> $DIR/warning.rs:80:11
160 |
161 LL | /// docs [error1]
162 | ^^^^^^ no item named `error1` in scope
163 |
164 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
165
166 warning: unresolved link to `error2`
167 --> $DIR/warning.rs:82:11
168 |
169 LL | /// docs [error2]
170 | ^^^^^^ no item named `error2` in scope
171 |
172 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
173
174 warning: 19 warnings emitted
175