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
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
The text was updated successfully, but these errors were encountered:
rust-lang/rfcs#1560 (comment)
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
The text was updated successfully, but these errors were encountered: