mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +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() {}
|