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