]> git.lizzy.rs Git - rust.git/blob - tests/ui/inline-const/expr-unsafe.mir.stderr
Rollup merge of #106664 - chenyukang:yukang/fix-106597-remove-lseek, r=cuviper
[rust.git] / tests / ui / inline-const / expr-unsafe.mir.stderr
1 warning: unnecessary `unsafe` block
2   --> $DIR/expr-unsafe.rs:12:13
3    |
4 LL |             unsafe {}
5    |             ^^^^^^ unnecessary `unsafe` block
6    |
7 note: the lint level is defined here
8   --> $DIR/expr-unsafe.rs:4:9
9    |
10 LL | #![warn(unused_unsafe)]
11    |         ^^^^^^^^^^^^^
12
13 warning: 1 warning emitted
14