summaryrefslogtreecommitdiffstats
path: root/src/test/ui/attributes/unknown-attr.rs
blob: 70fef04e95c670f83db5476e3aaab7304ed76bad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Unknown attributes fall back to unstable custom attributes.

#![feature(custom_inner_attributes)]

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

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

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