]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/macro-use-all-and-none.rs
Rollup merge of #105796 - notriddle:notriddle/rustdoc-search-stop-doing-demerits...
[rust.git] / tests / ui / macros / macro-use-all-and-none.rs
1 // run-pass
2 // aux-build:two_macros-rpass.rs
3
4 #![warn(unused_attributes)]
5
6 #[macro_use]
7 #[macro_use()] //~ WARNING unused attribute
8 extern crate two_macros_rpass;
9
10 pub fn main() {
11     macro_one!();
12     macro_two!();
13 }