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