25411113c1
This was missed during stablisation of the `#[diagnostic]` attribute namespace. Fixes #122446
15 lines
406 B
Plaintext
15 lines
406 B
Plaintext
error: unknown diagnostic attribute
|
|
--> $DIR/deny_malformed_attribute.rs:3:15
|
|
|
|
|
LL | #[diagnostic::unknown_attribute]
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/deny_malformed_attribute.rs:1:9
|
|
|
|
|
LL | #![deny(unknown_or_malformed_diagnostic_attributes)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|