11error: unsafe block missing a safety comment
2- --> $DIR/undocumented_unsafe_blocks.rs:247 :5
2+ --> $DIR/undocumented_unsafe_blocks.rs:255 :5
33 |
44LL | unsafe {}
55 | ^^^^^^^^^
@@ -8,95 +8,95 @@ LL | 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:251 :14
11+ --> $DIR/undocumented_unsafe_blocks.rs:259 :14
1212 |
1313LL | let _ = [unsafe { 14 }, unsafe { 15 }, 42, unsafe { 16 }];
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:251 :29
19+ --> $DIR/undocumented_unsafe_blocks.rs:259 :29
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:251 :48
27+ --> $DIR/undocumented_unsafe_blocks.rs:259 :48
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:255 :18
35+ --> $DIR/undocumented_unsafe_blocks.rs:263 :18
3636 |
3737LL | let _ = (42, unsafe {}, "test", unsafe {});
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:255 :37
43+ --> $DIR/undocumented_unsafe_blocks.rs:263 :37
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:259 :14
51+ --> $DIR/undocumented_unsafe_blocks.rs:267 :14
5252 |
5353LL | let _ = *unsafe { &42 };
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:264 :19
59+ --> $DIR/undocumented_unsafe_blocks.rs:272 :19
6060 |
6161LL | let _ = match unsafe {} {
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:270 :14
67+ --> $DIR/undocumented_unsafe_blocks.rs:278 :14
6868 |
6969LL | let _ = &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:274 :14
75+ --> $DIR/undocumented_unsafe_blocks.rs:282 :14
7676 |
7777LL | let _ = [unsafe {}; 5];
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:278 :13
83+ --> $DIR/undocumented_unsafe_blocks.rs:286 :13
8484 |
8585LL | let _ = unsafe {};
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:288 :8
91+ --> $DIR/undocumented_unsafe_blocks.rs:296 :8
9292 |
9393LL | t!(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:294 :13
99+ --> $DIR/undocumented_unsafe_blocks.rs:302 :13
100100 |
101101LL | unsafe {}
102102 | ^^^^^^^^^
@@ -108,31 +108,31 @@ LL | t!();
108108 = note: this error originates in the macro `t` (in Nightly builds, run with -Z macro-backtrace for more info)
109109
110110error: unsafe block missing a safety comment
111- --> $DIR/undocumented_unsafe_blocks.rs:302 :5
111+ --> $DIR/undocumented_unsafe_blocks.rs:310 :5
112112 |
113113LL | unsafe {} // SAFETY:
114114 | ^^^^^^^^^
115115 |
116116 = help: consider adding a safety comment on the preceding line
117117
118118error: unsafe block missing a safety comment
119- --> $DIR/undocumented_unsafe_blocks.rs:306 :5
119+ --> $DIR/undocumented_unsafe_blocks.rs:314 :5
120120 |
121121LL | unsafe {
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:316 :5
127+ --> $DIR/undocumented_unsafe_blocks.rs:324 :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:320 :20
135+ --> $DIR/undocumented_unsafe_blocks.rs:328 :20
136136 |
137137LL | println!("{}", unsafe { String::from_utf8_unchecked(vec![]) });
138138 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments