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