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 1efc265 commit 2eaa3a5Copy full SHA for 2eaa3a5
compiler/rustc_ast/src/visitors.rs
@@ -15,6 +15,16 @@ use crate::ptr::P;
15
use crate::token::{self, Token};
16
use crate::tokenstream::*;
17
18
+#[allow(unused)]
19
+macro_rules! macro_if {
20
+ ($_: tt { $($if: tt)* } $(else {$($else: tt)*})?) => {
21
+ $($if)*
22
+ };
23
+ ({ $($if: tt)* } $(else {$($else: tt)*})?) => {
24
+ $($($else)*)?
25
26
+}
27
+
28
pub mod visit {
29
//! AST walker. Each overridden visit method has full control over what
30
//! happens with its node, it can do its own traversal of the node's children,
0 commit comments