We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4c0daa commit 829bd8cCopy full SHA for 829bd8c
src/test/compile-fail/macro-use-scope.rs
@@ -19,10 +19,10 @@ fn f() {
19
#[macro_use(macro_one)] // Check that this macro is usable in the above function
20
extern crate two_macros;
21
22
+fn g() {
23
+ macro_two!();
24
+}
25
macro_rules! m { () => {
- fn g() {
- macro_two!();
- }
26
#[macro_use(macro_two)] // Check that this macro is usable in the above function
27
extern crate two_macros as _two_macros;
28
} }
0 commit comments