blob: d9700434b51aebf78b24275a21ee8d65eff4b5a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//@ check-pass
//@ proc-macro: 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() {}
|