]> git.lizzy.rs Git - rust.git/blob - src/test/ui/attributes/unknown-attr.rs
Merge commit 'd3a2366ee877075c59b38bd8ced55f224fc7ef51' into sync_cg_clif-2022-07-26
[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