]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/attributes-on-definitions.rs
Rollup merge of #106816 - TimNN:rental-remap, r=oli-obj
[rust.git] / tests / ui / proc-macro / attributes-on-definitions.rs
1 // check-pass
2 // aux-build:attributes-on-definitions.rs
3
4 #![forbid(unsafe_code)]
5
6 extern crate attributes_on_definitions;
7
8 attributes_on_definitions::with_attrs!();
9 //~^ WARN use of deprecated
10 // No errors about the use of unstable and unsafe code inside the macro.
11
12 fn main() {}