-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
'rustc' panicked at 'DefId::expect_local: DefId(21:256 ~ midi_io[b6c0]::parser::midi_codec)
isn't local'
#96583
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
apps4uco
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
Apr 30, 2022
There was an error in the original code in the main project
Where in the included crate it is defined as
Codec is defined in the rcodec crate its defined as https://docs.rs/rcodec/1.0.1/rcodec/codec/trait.Codec.html I managed to create a small test case of 2 crates. Unzip, cd to compiler_bug and run cargo build |
Run into this while fuzzing, minimized test case: fn main() {
drop.n
} Backtrace
|
Merged
Badel2
added a commit
to Badel2/rust
that referenced
this issue
May 8, 2022
PR rust-lang#96746 fixed a very similar bug, so the same logic is used in a different place.
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
May 9, 2022
…er-errors Actually fix ICE from rust-lang#96583 PR rust-lang#96746 fixed a very similar bug, so the same logic is used in a different place. I originally concluded that the two issues (rust-lang#96583 and rust-lang#96738) were identical by comparing the backtrace, but I didn't look close enough.
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
May 9, 2022
…askrgr Rollup of 6 pull requests Successful merges: - rust-lang#95483 (Improve floating point documentation) - rust-lang#96008 (Warn on unused `#[doc(hidden)]` attributes on trait impl items) - rust-lang#96841 (Revert "Implement [OsStr]::join", which was merged without FCP.) - rust-lang#96844 (Actually fix ICE from rust-lang#96583) - rust-lang#96854 (Some subst cleanup) - rust-lang#96858 (Remove unused param from search.js::checkPath) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
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
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: