Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
diagnostic_namespace
/
deny_malformed_attribute.rs
blob: 1d946a14aff1a4ec215855e8627fb4dbbf5407ee [
file
] [
log
] [
blame
]
#![
deny
(
unknown_or_malformed_diagnostic_attributes
)]
#[
diagnostic
::
unknown_attribute
]
//~^ERROR unknown diagnostic attribute
struct
Foo
;
fn
main
()
{}