You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of Rust GCC were you using, git sha if possible.
gccrs (Compiler-Explorer-Build-gcc-c7b7e297ea4b688ef9fb51a8aee2a8b2af39ac1c-binutils-2.40) 13.0.1 20230417 (experimental)
The text was updated successfully, but these errors were encountered:
mod a {macro_rules! m {() => {
macro_rules! m {() => {fn f(){}}}}}}mod b {use a::*;
c::m! {}// If we expand this first, it would resolve to `a::m!` and then// `b::m!` would expand to `fn f() {}`, ensuring correctness.}mod c {use a::*;
b::m! {}// If we expand this first, it would resolve to `a::m!` and then// `c::m!` would expand to `fn f() {}`, ensuring correctness.}
One way to go about it is to run the Early name resolver and expander in a fixed point, and store errors in a container instead of emitting them immediately. Then, once the fixed point is reached, emit the errors if there are any
I tried this code:
I expected to see this happen: compiles
Instead, this happened:
Meta
gccrs (Compiler-Explorer-Build-gcc-c7b7e297ea4b688ef9fb51a8aee2a8b2af39ac1c-binutils-2.40) 13.0.1 20230417 (experimental)
The text was updated successfully, but these errors were encountered: