about summary refs log tree commit diff
path: root/tests/ui/proc-macro/inner-attr-non-inline-mod.rs
blob: 2dcdbf3c40226a38344ead2b9cdfc7b579ffc340 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//@ compile-flags: -Z span-debug
//@ proc-macro: test-macros.rs

#![no_std] // Don't load unnecessary hygiene information from std
extern crate std;

#[macro_use]
extern crate test_macros;

#[deny(unused_attributes)]
mod module_with_attrs;
//~^ ERROR non-inline modules in proc macro input are unstable
//~| ERROR custom inner attributes are unstable

fn main() {}

//~? ERROR custom inner attributes are unstable
//~? ERROR inner macro attributes are unstable