rust/tests/ui/attributes/unsafe/unsafe-safe-attribute_diagnostic.stderr

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

11 lines
316 B
Plaintext
Raw Normal View History

error: `diagnostic::on_unimplemented` is not an unsafe attribute
2024-08-07 01:36:28 -05:00
--> $DIR/unsafe-safe-attribute_diagnostic.rs:1:3
|
LL | #[unsafe(diagnostic::on_unimplemented(
| ^^^^^^ this is not an unsafe attribute
|
= note: extraneous unsafe is not allowed in attributes
error: aborting due to 1 previous error