Closed
Description
Was: `matches` crate regression: error[E0433]: failed to resolve. Did you mean `std::panic`?
Reduced test case:
#[macro_export(local_inner_macros)]
macro_rules! assert_matches {
() => {
panic!()
}
}
fn main() {
assert_matches!();
}
$ rustup run --install nightly-2018-08-17 rustc -V
rustc 1.30.0-nightly (b2028828d 2018-08-16)
$ rustup run --install nightly-2018-08-17 rustc a.rs
$ rustup run --install nightly-2018-08-18 rustc -V
rustc 1.30.0-nightly (1fa944914 2018-08-17)
$ rustup run --install nightly-2018-08-18 rustc a.rs
error[E0433]: failed to resolve. Did you mean `std::panic`?
--> a.rs:4:9
|
4 | panic!()
| ^^^^^ Did you mean `std::panic`?
...
9 | assert_matches!();
| ------------------ in this macro invocation
error: aborting due to previous error
For more information about this error, try `rustc --explain E0433`.
Commit range: b202882...1fa9449
Likely candidate: #50911 Stabilize use_extern_macros
, CC @petrochenkov