mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 23:12:02 +00:00
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() {}
|