Independent of what rustc does today, which output would you *want* the following program to print?
macro_rules! stringify_expr {
($expr:expr) => {
stringify!($expr)
};
}
macro_rules! stringify_if_eq {
($expr:expr) => {
stringify_expr!(if $expr == $expr {})
};
}
fn main() {
println!("{}", stringify_if_eq!(Struct {}));
}
@theincredibleholk @dtolnay I did the same and would also pick the third option now.