25411113c1
This was missed during stablisation of the `#[diagnostic]` attribute namespace. Fixes #122446
8 lines
152 B
Rust
8 lines
152 B
Rust
#![deny(unknown_or_malformed_diagnostic_attributes)]
|
|
|
|
#[diagnostic::unknown_attribute]
|
|
//~^ERROR unknown diagnostic attribute
|
|
struct Foo;
|
|
|
|
fn main() {}
|