2013-11-11 17:51:27 +09:00
|
|
|
// When denying at the crate level, be sure to not get random warnings from the
|
|
|
|
// injected intrinsics by the compiler.
|
|
|
|
|
2015-02-14 16:15:43 +05:30
|
|
|
#![feature(custom_attribute)]
|
2014-10-27 15:37:07 -07:00
|
|
|
#![deny(unused_attributes)]
|
2013-11-11 17:51:27 +09:00
|
|
|
|
2014-06-07 23:46:32 -07:00
|
|
|
#![mutable_doc] //~ ERROR unused attribute
|
2013-11-26 00:22:40 +09:00
|
|
|
|
2014-06-07 23:46:32 -07:00
|
|
|
#[dance] mod a {} //~ ERROR unused attribute
|
2013-11-11 17:51:27 +09:00
|
|
|
|
2014-06-07 23:46:32 -07:00
|
|
|
#[dance] fn main() {} //~ ERROR unused attribute
|