blob: 055781d2c6048c01d4769f96695cc1224daae3ba (
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 item
// No errors about the use of unstable and unsafe code inside the macro.
fn main() {}
|