]> git.lizzy.rs Git - rust.git/blob - src/test/ui/attributes/unknown-attr.rs
Sync rustc_codegen_cranelift 'ddd4ce25535cf71203ba3700896131ce55fde795'
[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