-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ICE with macros in macros and multiple use ... as ...
with --edition=2021
#97534
Labels
C-bug
Category: This is a bug.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
steffahn
added
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
labels
May 29, 2022
Ah, the nested macro is unnecessary! This ICEs, too macro_rules! foo {
() => {};
}
macro_rules! m {
() => {
use foo as bar;
};
}
m! {}
use bar as baz;
baz! {} |
Note: this only seems to reproduce with |
matthiaskrgr
changed the title
ICE with macros in macros and multiple
ICE with macros in macros and multiple May 30, 2022
use ... as ...
use ... as ...
with --edition=2021
matthiaskrgr
added a commit
to matthiaskrgr/glacier
that referenced
this issue
May 30, 2022
matthiaskrgr
added a commit
to matthiaskrgr/glacier
that referenced
this issue
May 30, 2022
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Mar 20, 2023
…enkov fix: modify the condition that `resolve_imports` stops close rust-lang#97534
This was referenced Mar 22, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Category: This is a bug.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
(playground)
Meta
Error output
Backtrace
The text was updated successfully, but these errors were encountered: