rust/tests/ui/issues/issue-48131.thir.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
504 B
Plaintext
Raw Normal View History

2018-07-15 16:11:54 -05:00
error: unnecessary `unsafe` block
--> $DIR/issue-48131.rs:12:9
2018-07-15 16:11:54 -05:00
|
2019-03-09 06:03:44 -06:00
LL | unsafe { /* unnecessary */ }
2018-07-15 16:11:54 -05:00
| ^^^^^^ unnecessary `unsafe` block
|
2020-01-22 17:57:38 -06:00
note: the lint level is defined here
--> $DIR/issue-48131.rs:6:9
2018-07-15 16:11:54 -05:00
|
2019-03-09 06:03:44 -06:00
LL | #![deny(unused_unsafe)]
2018-07-15 16:11:54 -05:00
| ^^^^^^^^^^^^^
error: unnecessary `unsafe` block
--> $DIR/issue-48131.rs:23:13
2018-07-15 16:11:54 -05:00
|
2019-03-09 06:03:44 -06:00
LL | unsafe { /* unnecessary */ }
2018-07-15 16:11:54 -05:00
| ^^^^^^ unnecessary `unsafe` block
error: aborting due to 2 previous errors