-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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 report as requested; no ICE on stable #130272
Labels
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.
Comments
cc #129184 |
Oof, I claimed that original issue and never fixed it I think. Give me a sec. |
fee1-dead
added a commit
to fee1-dead-contrib/rust
that referenced
this issue
Sep 17, 2024
Don't call `extern_crate` when local crate name is the same as a dependency and we have a trait error rust-lang#124944 implemented logic to point out when a trait bound failure involves a *trait* and *type* who come from identically named but different crates. This logic calls the `extern_crate` query which is not valid on `LOCAL_CRATE` cnum, so let's filter that out eagerly. Fixes rust-lang#130272 Fixes rust-lang#129184
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Sep 17, 2024
Rollup merge of rust-lang#130275 - compiler-errors:extern-crate, r=lcnr Don't call `extern_crate` when local crate name is the same as a dependency and we have a trait error rust-lang#124944 implemented logic to point out when a trait bound failure involves a *trait* and *type* who come from identically named but different crates. This logic calls the `extern_crate` query which is not valid on `LOCAL_CRATE` cnum, so let's filter that out eagerly. Fixes rust-lang#130272 Fixes rust-lang#129184
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) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
ICE when a short-ish (5 lines) implementation is uncommented.
In producing this report, I found that the ICE does not occur on stable, and instead it produces an error
When I add this implementation stable builds fine, but also nightly no longer has the ICE. I've linked the code in a commit that does not have the missing implementation, so that you can trigger the ICE, but I'll likely be moving forward with the non-ICEing implementation so do use that link rather than looking on
master
.Code
The following snippet, when uncommented, produces an ICE that I am asked to report. No attempt was made at minimization, as I haven't the foggiest what the error means:
https://github.com/frankmcsherry/columnar/blob/119508fcc9a6651c33c5aee32865442c2c6dc2ac/src/main.rs#L478-L484
<code>
Meta
rustc --version --verbose
:Error output
Backtrace
Produced output file.
rustc-ice-2024-09-12T12_19_43-10017.txt
The text was updated successfully, but these errors were encountered: