1 // compile-flags: -Z span-debug
2 // error-pattern:custom inner attributes are unstable
3 // error-pattern:inner macro attributes are unstable
4 // error-pattern:this was previously accepted
5 // aux-build:test-macros.rs
7 #![no_std] // Don't load unnecessary hygiene information from std
11 extern crate test_macros;
13 #[deny(unused_attributes)]
14 mod module_with_attrs;
15 //~^ ERROR non-inline modules in proc macro input are unstable
16 //~| ERROR custom inner attributes are unstable