-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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: No HirID for DefId(...)
with feature generic_assert
#123629
Labels
C-bug
Category: This is a bug.
F-generic_assert
`#![feature(generic_assert)]`
F-non_lifetime_binders
`#![feature(non_lifetime_binders)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-nightly
This issue requires a nightly compiler in some way.
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
cushionbadak
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 8, 2024
rustbot
added
the
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
label
Apr 8, 2024
jieyouxu
added
the
requires-nightly
This issue requires a nightly compiler in some way.
label
Apr 8, 2024
Related: #120612 |
fmease
added
F-non_lifetime_binders
`#![feature(non_lifetime_binders)]`
F-generic_assert
`#![feature(generic_assert)]`
and removed
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
labels
Apr 8, 2024
Add crate-feature in source and run cargo rustc-bisect. #![feature(generic_assert)]
fn foo()
where
for<const N: usize = {
|| {
assert!(u1 == u2);
};
}> ():,
{
} bisected with cargo-bisect-rustc v0.6.8Host triple: x86_64-unknown-linux-gnu cargo bisect-rustc --start 2024-01-01 --end 2024-04-14 --preserve --regress ice
|
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Sep 7, 2024
add a few more crashtests Added them for rust-lang#123629, rust-lang#127033 and rust-lang#129372.
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Sep 8, 2024
Rollup merge of rust-lang#129869 - cyrgani:master, r=Mark-Simulacrum add a few more crashtests Added them for rust-lang#123629, rust-lang#127033 and rust-lang#129372.
@rustbot label +S-bug-has-test |
rustbot
added
the
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
label
Sep 8, 2024
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.
F-generic_assert
`#![feature(generic_assert)]`
F-non_lifetime_binders
`#![feature(non_lifetime_binders)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-nightly
This issue requires a nightly compiler in some way.
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Note
rustc -Zcrate-attr="feature(generic_assert)"
rust/compiler/rustc_middle/src/hir/mod.rs
Line 168 in 9d5cdf7
Code
(reduced)
Original Code
Meta
rustc --version --verbose
:Command
rustc -Zcrate-attr="feature(generic_assert)"
Error output
Backtrace
The text was updated successfully, but these errors were encountered: