-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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: panicked at 'already borrowed: BorrowMutError' and thread panicked while panicking. aborting. #83479
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-debug-assertions
This issue requires a build of rustc or tooling with debug-assertions in some way
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
fanninpm
added a commit
to fanninpm/glacier
that referenced
this issue
Mar 26, 2021
Issue: rust-lang/rust#83479
A duplicate mod a {
pub mod b {
pub mod c {
pub struct S<T>;
}
}
}
macro_rules! import {
( $ p : path ) => {
use $p;
};
}
fn f1() {
import! { a :: b :: c :: S < u8 > }
}
fn f2() {}
fn main() {} |
No longer ICEs since #89124 |
The minimized second example fails to debug-assert here:
Backtrace
|
JohnTitor
added a commit
to JohnTitor/rust
that referenced
this issue
Oct 21, 2021
…crum Add a regression test for issue-83479 Add a regression test for rust-lang#83479 (comment), but not close the issue, see rust-lang#83479 (comment).
JohnTitor
added a commit
to JohnTitor/rust
that referenced
this issue
Oct 21, 2021
…crum Add a regression test for issue-83479 Add a regression test for rust-lang#83479 (comment), but not close the issue, see rust-lang#83479 (comment).
JohnTitor
added a commit
to JohnTitor/rust
that referenced
this issue
Oct 22, 2021
…crum Add a regression test for issue-83479 Add a regression test for rust-lang#83479 (comment), but not close the issue, see rust-lang#83479 (comment).
JohnTitor
added a commit
to JohnTitor/rust
that referenced
this issue
Oct 22, 2021
…crum Add a regression test for issue-83479 Add a regression test for rust-lang#83479 (comment), but not close the issue, see rust-lang#83479 (comment).
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Oct 22, 2021
…crum Add a regression test for issue-83479 Add a regression test for rust-lang#83479 (comment), but not close the issue, see rust-lang#83479 (comment).
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.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-debug-assertions
This issue requires a build of rustc or tooling with debug-assertions in some way
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: