summary refs log tree commit diff
path: root/src/test/ui/attributes/unknown-attr.rs
blob: 140a1fc3f93e59cfddf8f3d1d07c63c7141f08b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Unknown attributes fall back to feature gated custom attributes.

#![feature(custom_inner_attributes)]

#![mutable_doc]
//~^ ERROR cannot find attribute macro `mutable_doc` in this scope

#[dance] mod a {}
//~^ ERROR cannot find attribute macro `dance` in this scope

#[dance] fn main() {}
//~^ ERROR cannot find attribute macro `dance` in this scope