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