]> git.lizzy.rs Git - rust.git/blob - src/test/ui/attributes/unknown-attr.rs
Merge commit '40dd3e2b7089b5e96714e064b731f6dbf17c61a9' into sync_cg_clif-2021-05-27
[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