summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/attributes-on-definitions.rs
blob: c0733c8b416beef1d76911331f017d46a4a6e56f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// check-pass
// aux-build:attributes-on-definitions.rs

#![forbid(unsafe_code)]

extern crate attributes_on_definitions;

attributes_on_definitions::with_attrs!();
//~^ WARN use of deprecated
// No errors about the use of unstable and unsafe code inside the macro.

fn main() {}