Closed
Description
Minimized test case:
macro_rules! thing {
($e:expr) => { thing!($e, $e) };
($e0:expr, $e1:expr) => {{
let e = $e0;
assert!(e == $e1);
}}
}
pub fn main() {
thing!(~17);
}
Note that substituting thing!(~17, ~17)
works, and similarly for let e = $e0; let ee = $e1; assert!(e == ee)
. Gist of the ::rt::backtrace: https://gist.github.com/jld/5435823