11error: unsafe block missing a safety comment
2- --> $DIR/undocumented_unsafe_blocks.rs:257 :19
2+ --> $DIR/undocumented_unsafe_blocks.rs:262 :19
33 |
44LL | /* Safety: */ unsafe {}
55 | ^^^^^^^^^
@@ -8,103 +8,103 @@ LL | /* Safety: */ unsafe {}
88 = help: consider adding a safety comment on the preceding line
99
1010error: unsafe block missing a safety comment
11- --> $DIR/undocumented_unsafe_blocks.rs:261 :5
11+ --> $DIR/undocumented_unsafe_blocks.rs:266 :5
1212 |
1313LL | unsafe {}
1414 | ^^^^^^^^^
1515 |
1616 = help: consider adding a safety comment on the preceding line
1717
1818error: unsafe block missing a safety comment
19- --> $DIR/undocumented_unsafe_blocks.rs:265 :14
19+ --> $DIR/undocumented_unsafe_blocks.rs:270 :14
2020 |
2121LL | let _ = [unsafe { 14 }, unsafe { 15 }, 42, unsafe { 16 }];
2222 | ^^^^^^^^^^^^^
2323 |
2424 = help: consider adding a safety comment on the preceding line
2525
2626error: unsafe block missing a safety comment
27- --> $DIR/undocumented_unsafe_blocks.rs:265 :29
27+ --> $DIR/undocumented_unsafe_blocks.rs:270 :29
2828 |
2929LL | let _ = [unsafe { 14 }, unsafe { 15 }, 42, unsafe { 16 }];
3030 | ^^^^^^^^^^^^^
3131 |
3232 = help: consider adding a safety comment on the preceding line
3333
3434error: unsafe block missing a safety comment
35- --> $DIR/undocumented_unsafe_blocks.rs:265 :48
35+ --> $DIR/undocumented_unsafe_blocks.rs:270 :48
3636 |
3737LL | let _ = [unsafe { 14 }, unsafe { 15 }, 42, unsafe { 16 }];
3838 | ^^^^^^^^^^^^^
3939 |
4040 = help: consider adding a safety comment on the preceding line
4141
4242error: unsafe block missing a safety comment
43- --> $DIR/undocumented_unsafe_blocks.rs:269 :18
43+ --> $DIR/undocumented_unsafe_blocks.rs:274 :18
4444 |
4545LL | let _ = (42, unsafe {}, "test", unsafe {});
4646 | ^^^^^^^^^
4747 |
4848 = help: consider adding a safety comment on the preceding line
4949
5050error: unsafe block missing a safety comment
51- --> $DIR/undocumented_unsafe_blocks.rs:269 :37
51+ --> $DIR/undocumented_unsafe_blocks.rs:274 :37
5252 |
5353LL | let _ = (42, unsafe {}, "test", unsafe {});
5454 | ^^^^^^^^^
5555 |
5656 = help: consider adding a safety comment on the preceding line
5757
5858error: unsafe block missing a safety comment
59- --> $DIR/undocumented_unsafe_blocks.rs:273 :14
59+ --> $DIR/undocumented_unsafe_blocks.rs:278 :14
6060 |
6161LL | let _ = *unsafe { &42 };
6262 | ^^^^^^^^^^^^^^
6363 |
6464 = help: consider adding a safety comment on the preceding line
6565
6666error: unsafe block missing a safety comment
67- --> $DIR/undocumented_unsafe_blocks.rs:278 :19
67+ --> $DIR/undocumented_unsafe_blocks.rs:283 :19
6868 |
6969LL | let _ = match unsafe {} {
7070 | ^^^^^^^^^
7171 |
7272 = help: consider adding a safety comment on the preceding line
7373
7474error: unsafe block missing a safety comment
75- --> $DIR/undocumented_unsafe_blocks.rs:284 :14
75+ --> $DIR/undocumented_unsafe_blocks.rs:289 :14
7676 |
7777LL | let _ = &unsafe {};
7878 | ^^^^^^^^^
7979 |
8080 = help: consider adding a safety comment on the preceding line
8181
8282error: unsafe block missing a safety comment
83- --> $DIR/undocumented_unsafe_blocks.rs:288 :14
83+ --> $DIR/undocumented_unsafe_blocks.rs:293 :14
8484 |
8585LL | let _ = [unsafe {}; 5];
8686 | ^^^^^^^^^
8787 |
8888 = help: consider adding a safety comment on the preceding line
8989
9090error: unsafe block missing a safety comment
91- --> $DIR/undocumented_unsafe_blocks.rs:292 :13
91+ --> $DIR/undocumented_unsafe_blocks.rs:297 :13
9292 |
9393LL | let _ = unsafe {};
9494 | ^^^^^^^^^
9595 |
9696 = help: consider adding a safety comment on the preceding line
9797
9898error: unsafe block missing a safety comment
99- --> $DIR/undocumented_unsafe_blocks.rs:302 :8
99+ --> $DIR/undocumented_unsafe_blocks.rs:307 :8
100100 |
101101LL | t!(unsafe {});
102102 | ^^^^^^^^^
103103 |
104104 = help: consider adding a safety comment on the preceding line
105105
106106error: unsafe block missing a safety comment
107- --> $DIR/undocumented_unsafe_blocks.rs:308 :13
107+ --> $DIR/undocumented_unsafe_blocks.rs:313 :13
108108 |
109109LL | unsafe {}
110110 | ^^^^^^^^^
@@ -116,55 +116,55 @@ LL | t!();
116116 = note: this error originates in the macro `t` (in Nightly builds, run with -Z macro-backtrace for more info)
117117
118118error: unsafe block missing a safety comment
119- --> $DIR/undocumented_unsafe_blocks.rs:316 :5
119+ --> $DIR/undocumented_unsafe_blocks.rs:321 :5
120120 |
121121LL | unsafe {} // SAFETY:
122122 | ^^^^^^^^^
123123 |
124124 = help: consider adding a safety comment on the preceding line
125125
126126error: unsafe block missing a safety comment
127- --> $DIR/undocumented_unsafe_blocks.rs:320 :5
127+ --> $DIR/undocumented_unsafe_blocks.rs:325 :5
128128 |
129129LL | unsafe {
130130 | ^^^^^^^^
131131 |
132132 = help: consider adding a safety comment on the preceding line
133133
134134error: unsafe block missing a safety comment
135- --> $DIR/undocumented_unsafe_blocks.rs:330 :5
135+ --> $DIR/undocumented_unsafe_blocks.rs:335 :5
136136 |
137137LL | unsafe {};
138138 | ^^^^^^^^^
139139 |
140140 = help: consider adding a safety comment on the preceding line
141141
142142error: unsafe block missing a safety comment
143- --> $DIR/undocumented_unsafe_blocks.rs:334 :20
143+ --> $DIR/undocumented_unsafe_blocks.rs:339 :20
144144 |
145145LL | println!("{}", unsafe { String::from_utf8_unchecked(vec![]) });
146146 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
147147 |
148148 = help: consider adding a safety comment on the preceding line
149149
150150error: unsafe impl missing a safety comment
151- --> $DIR/undocumented_unsafe_blocks.rs:341 :5
151+ --> $DIR/undocumented_unsafe_blocks.rs:346 :5
152152 |
153153LL | unsafe impl A for () {}
154154 | ^^^^^^^^^^^^^^^^^^^^^^^
155155 |
156156 = help: consider adding a safety comment on the preceding line
157157
158158error: unsafe impl missing a safety comment
159- --> $DIR/undocumented_unsafe_blocks.rs:348 :9
159+ --> $DIR/undocumented_unsafe_blocks.rs:353 :9
160160 |
161161LL | unsafe impl B for (u32) {}
162162 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
163163 |
164164 = help: consider adding a safety comment on the preceding line
165165
166166error: unsafe impl missing a safety comment
167- --> $DIR/undocumented_unsafe_blocks.rs:369 :13
167+ --> $DIR/undocumented_unsafe_blocks.rs:374 :13
168168 |
169169LL | unsafe impl T for $t {}
170170 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -176,7 +176,7 @@ LL | no_safety_comment!(());
176176 = note: this error originates in the macro `no_safety_comment` (in Nightly builds, run with -Z macro-backtrace for more info)
177177
178178error: unsafe impl missing a safety comment
179- --> $DIR/undocumented_unsafe_blocks.rs:394 :13
179+ --> $DIR/undocumented_unsafe_blocks.rs:399 :13
180180 |
181181LL | unsafe impl T for $t {}
182182 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -188,15 +188,15 @@ LL | no_safety_comment!(());
188188 = note: this error originates in the macro `no_safety_comment` (in Nightly builds, run with -Z macro-backtrace for more info)
189189
190190error: unsafe impl missing a safety comment
191- --> $DIR/undocumented_unsafe_blocks.rs:402 :5
191+ --> $DIR/undocumented_unsafe_blocks.rs:407 :5
192192 |
193193LL | unsafe impl T for (i32) {}
194194 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
195195 |
196196 = help: consider adding a safety comment on the preceding line
197197
198198error: unsafe impl missing a safety comment
199- --> $DIR/undocumented_unsafe_blocks.rs:394 :13
199+ --> $DIR/undocumented_unsafe_blocks.rs:399 :13
200200 |
201201LL | unsafe impl T for $t {}
202202 | ^^^^^^^^^^^^^^^^^^^^^^^
@@ -208,55 +208,55 @@ LL | no_safety_comment!(u32);
208208 = note: this error originates in the macro `no_safety_comment` (in Nightly builds, run with -Z macro-backtrace for more info)
209209
210210error: unsafe impl missing a safety comment
211- --> $DIR/undocumented_unsafe_blocks.rs:408 :5
211+ --> $DIR/undocumented_unsafe_blocks.rs:413 :5
212212 |
213213LL | unsafe impl T for (bool) {}
214214 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
215215 |
216216 = help: consider adding a safety comment on the preceding line
217217
218218error: unsafe impl missing a safety comment
219- --> $DIR/undocumented_unsafe_blocks.rs:454 :5
219+ --> $DIR/undocumented_unsafe_blocks.rs:459 :5
220220 |
221221LL | unsafe impl NoComment for () {}
222222 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
223223 |
224224 = help: consider adding a safety comment on the preceding line
225225
226226error: unsafe impl missing a safety comment
227- --> $DIR/undocumented_unsafe_blocks.rs:458 :19
227+ --> $DIR/undocumented_unsafe_blocks.rs:463 :19
228228 |
229229LL | /* SAFETY: */ unsafe impl InlineComment for () {}
230230 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
231231 |
232232 = help: consider adding a safety comment on the preceding line
233233
234234error: unsafe impl missing a safety comment
235- --> $DIR/undocumented_unsafe_blocks.rs:462 :5
235+ --> $DIR/undocumented_unsafe_blocks.rs:467 :5
236236 |
237237LL | unsafe impl TrailingComment for () {} // SAFETY:
238238 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
239239 |
240240 = help: consider adding a safety comment on the preceding line
241241
242242error: unsafe impl missing a safety comment
243- --> $DIR/undocumented_unsafe_blocks.rs:467 :5
243+ --> $DIR/undocumented_unsafe_blocks.rs:472 :5
244244 |
245245LL | unsafe impl Interference for () {}
246246 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
247247 |
248248 = help: consider adding a safety comment on the preceding line
249249
250250error: unsafe impl missing a safety comment
251- --> $DIR/undocumented_unsafe_blocks.rs:474 :5
251+ --> $DIR/undocumented_unsafe_blocks.rs:479 :5
252252 |
253253LL | unsafe impl ImplInFn for () {}
254254 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
255255 |
256256 = help: consider adding a safety comment on the preceding line
257257
258258error: unsafe impl missing a safety comment
259- --> $DIR/undocumented_unsafe_blocks.rs:483 :1
259+ --> $DIR/undocumented_unsafe_blocks.rs:488 :1
260260 |
261261LL | unsafe impl CrateRoot for () {}
262262 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments