about summary refs log tree commit diff
path: root/tests/ui/attributes/unsafe/unsafe-safe-attribute_diagnostic.stderr
blob: 3bc291db5acf8097c28c3e393f7e21b51f521d79 (plain)
1
2
3
4
5
6
7
8
9
10
error: `diagnostic::on_unimplemented` is not an unsafe attribute
  --> $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