]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/doc.stderr
New upstream version 1.54.0+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / doc.stderr
CommitLineData
f20569fa
XL
1error: you should put `foo_bar` between ticks in the documentation
2 --> $DIR/doc.rs:8:9
3 |
4LL | /// The foo_bar function does _nothing_. See also foo::bar. (note the dot there)
5 | ^^^^^^^
6 |
7 = note: `-D clippy::doc-markdown` implied by `-D warnings`
8
9error: you should put `foo::bar` between ticks in the documentation
10 --> $DIR/doc.rs:8:51
11 |
12LL | /// The foo_bar function does _nothing_. See also foo::bar. (note the dot there)
13 | ^^^^^^^^
14
15error: you should put `Foo::some_fun` between ticks in the documentation
16 --> $DIR/doc.rs:9:83
17 |
18LL | /// Markdown is _weird_. I mean _really weird_. This /_ is ok. So is `_`. But not Foo::some_fun
19 | ^^^^^^^^^^^^^
20
21error: you should put `a::global:path` between ticks in the documentation
22 --> $DIR/doc.rs:11:15
23 |
24LL | /// Here be ::a::global:path.
25 | ^^^^^^^^^^^^^^
26
27error: you should put `NotInCodeBlock` between ticks in the documentation
28 --> $DIR/doc.rs:12:22
29 |
30LL | /// That's not code ~NotInCodeBlock~.
31 | ^^^^^^^^^^^^^^
32
33error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
34 --> $DIR/doc.rs:13:5
35 |
36LL | /// be_sure_we_got_to_the_end_of_it
37 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
38
39error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
40 --> $DIR/doc.rs:27:5
41 |
42LL | /// be_sure_we_got_to_the_end_of_it
43 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44
45error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
46 --> $DIR/doc.rs:34:5
47 |
48LL | /// be_sure_we_got_to_the_end_of_it
49 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
50
51error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
52 --> $DIR/doc.rs:48:5
53 |
54LL | /// be_sure_we_got_to_the_end_of_it
55 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
56
57error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
58 --> $DIR/doc.rs:71:5
59 |
60LL | /// be_sure_we_got_to_the_end_of_it
61 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
62
63error: you should put `link_with_underscores` between ticks in the documentation
64 --> $DIR/doc.rs:75:22
65 |
66LL | /// This test has [a link_with_underscores][chunked-example] inside it. See #823.
67 | ^^^^^^^^^^^^^^^^^^^^^
68
69error: you should put `inline_link2` between ticks in the documentation
70 --> $DIR/doc.rs:78:21
71 |
72LL | /// It can also be [inline_link2].
73 | ^^^^^^^^^^^^
74
75error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
76 --> $DIR/doc.rs:88:5
77 |
78LL | /// be_sure_we_got_to_the_end_of_it
79 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
80
81error: you should put `CamelCaseThing` between ticks in the documentation
82 --> $DIR/doc.rs:96:8
83 |
84LL | /// ## CamelCaseThing
85 | ^^^^^^^^^^^^^^
86
87error: you should put `CamelCaseThing` between ticks in the documentation
88 --> $DIR/doc.rs:99:7
89 |
90LL | /// # CamelCaseThing
91 | ^^^^^^^^^^^^^^
92
93error: you should put `CamelCaseThing` between ticks in the documentation
94 --> $DIR/doc.rs:101:22
95 |
96LL | /// Not a title #897 CamelCaseThing
97 | ^^^^^^^^^^^^^^
98
99error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
100 --> $DIR/doc.rs:102:5
101 |
102LL | /// be_sure_we_got_to_the_end_of_it
103 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
104
105error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
106 --> $DIR/doc.rs:109:5
107 |
108LL | /// be_sure_we_got_to_the_end_of_it
109 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
110
111error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
112 --> $DIR/doc.rs:122:5
113 |
114LL | /// be_sure_we_got_to_the_end_of_it
115 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
116
117error: you should put `FooBar` between ticks in the documentation
118 --> $DIR/doc.rs:133:43
119 |
120LL | /** E.g., serialization of an empty list: FooBar
121 | ^^^^^^
122
123error: you should put `BarQuz` between ticks in the documentation
124 --> $DIR/doc.rs:138:5
125 |
126LL | And BarQuz too.
127 | ^^^^^^
128
129error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
130 --> $DIR/doc.rs:139:1
131 |
132LL | be_sure_we_got_to_the_end_of_it
133 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
134
135error: you should put `FooBar` between ticks in the documentation
136 --> $DIR/doc.rs:144:43
137 |
138LL | /** E.g., serialization of an empty list: FooBar
139 | ^^^^^^
140
141error: you should put `BarQuz` between ticks in the documentation
142 --> $DIR/doc.rs:149:5
143 |
144LL | And BarQuz too.
145 | ^^^^^^
146
147error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
148 --> $DIR/doc.rs:150:1
149 |
150LL | be_sure_we_got_to_the_end_of_it
151 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
152
153error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the documentation
154 --> $DIR/doc.rs:161:5
155 |
156LL | /// be_sure_we_got_to_the_end_of_it
157 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
158
159error: you should put bare URLs between `<`/`>` or make a proper Markdown link
160 --> $DIR/doc.rs:188:13
161 |
162LL | /// Not ok: http://www.unicode.org
163 | ^^^^^^^^^^^^^^^^^^^^^^
164
165error: you should put bare URLs between `<`/`>` or make a proper Markdown link
166 --> $DIR/doc.rs:189:13
167 |
168LL | /// Not ok: https://www.unicode.org
169 | ^^^^^^^^^^^^^^^^^^^^^^^
170
171error: you should put bare URLs between `<`/`>` or make a proper Markdown link
172 --> $DIR/doc.rs:190:13
173 |
174LL | /// Not ok: http://www.unicode.org/
175 | ^^^^^^^^^^^^^^^^^^^^^^
176
177error: you should put bare URLs between `<`/`>` or make a proper Markdown link
178 --> $DIR/doc.rs:191:13
179 |
180LL | /// Not ok: http://www.unicode.org/reports/tr9/#Reordering_Resolved_Levels
181 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
182
183error: you should put `mycrate::Collection` between ticks in the documentation
184 --> $DIR/doc.rs:194:22
185 |
186LL | /// An iterator over mycrate::Collection's values.
187 | ^^^^^^^^^^^^^^^^^^^
188
189error: aborting due to 31 previous errors
190