]> git.lizzy.rs Git - rust.git/blob - tests/ui/attributes/unknown-attr.rs
Rollup merge of #106489 - jschwe:fix_linker_detection, r=petrochenkov
[rust.git] / tests / ui / attributes / unknown-attr.rs
1 // Unknown attributes fall back to unstable custom attributes.
2
3 #![feature(custom_inner_attributes)]
4
5 #![mutable_doc]
6 //~^ ERROR cannot find attribute `mutable_doc` in this scope
7
8 #[dance] mod a {}
9 //~^ ERROR cannot find attribute `dance` in this scope
10
11 #[dance] fn main() {}
12 //~^ ERROR cannot find attribute `dance` in this scope