fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
503 B20 linesraw
1error: unnecessary `unsafe` block
2  --> $DIR/issue-48131.rs:9:9
3   |
4LL |         unsafe { /* unnecessary */ }
5   |         ^^^^^^ unnecessary `unsafe` block
6   |
7note: the lint level is defined here
8  --> $DIR/issue-48131.rs:3:9
9   |
10LL | #![deny(unused_unsafe)]
11   |         ^^^^^^^^^^^^^
12
13error: unnecessary `unsafe` block
14  --> $DIR/issue-48131.rs:20:13
15   |
16LL |             unsafe { /* unnecessary */ }
17   |             ^^^^^^ unnecessary `unsafe` block
18
19error: aborting due to 2 previous errors
20