
This adds reference annotations for `diagnostic::on_unimplmented` and the `diagnostic` namespace in general.
9 lines
223 B
Rust
9 lines
223 B
Rust
//@ reference: attributes.diagnostic.namespace.unknown-invalid-syntax
|
|
|
|
#![deny(unknown_or_malformed_diagnostic_attributes)]
|
|
|
|
#[diagnostic::unknown_attribute]
|
|
//~^ERROR unknown diagnostic attribute
|
|
struct Foo;
|
|
|
|
fn main() {}
|