]> git.lizzy.rs Git - rust.git/blob - src/test/ui/attributes/unknown-attr.rs
Merge commit '7b73b60faca71d01d900e49831fcb84553e93019' into sync-rustfmt
[rust.git] / src / test / 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