fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
371 B14 linesraw
1error: unnecessary `unsafe` block
2  --> $DIR/unsafe-around-compiler-generated-unsafe.rs:6:5
3   |
4LL |     unsafe { println!("foo"); }
5   |     ^^^^^^ unnecessary `unsafe` block
6   |
7note: lint level defined here
8  --> $DIR/unsafe-around-compiler-generated-unsafe.rs:3:9
9   |
10LL | #![deny(unused_unsafe)]
11   |         ^^^^^^^^^^^^^
12
13error: aborting due to previous error
14