]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/attributes-on-definitions.rs
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[rust.git] / src / test / 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() {}