-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
ICE: assertion failed: !obligations.has_infer() in rustc_hir_analysis/src/impl_wf_check/min_specialization.rs with feature min_specialization #126268
Copy link
Copy link
Open
Labels
C-bugCategory: This is a bug.Category: This is a bug.F-min_specialization`#![feature(min_specialization)]``#![feature(min_specialization)]`I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️S-bug-has-testStatus: This bug is tracked inside the repo by a `known-bug` test.Status: This bug is tracked inside the repo by a `known-bug` test.S-has-mcveStatus: A Minimal Complete and Verifiable Example has been found for this issueStatus: A Minimal Complete and Verifiable Example has been found for this issueT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.requires-nightlyThis issue requires a nightly compiler in some way. When possible, use a F-* label instead.This issue requires a nightly compiler in some way. When possible, use a F-* label instead.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.F-min_specialization`#![feature(min_specialization)]``#![feature(min_specialization)]`I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️S-bug-has-testStatus: This bug is tracked inside the repo by a `known-bug` test.Status: This bug is tracked inside the repo by a `known-bug` test.S-has-mcveStatus: A Minimal Complete and Verifiable Example has been found for this issueStatus: A Minimal Complete and Verifiable Example has been found for this issueT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.requires-nightlyThis issue requires a nightly compiler in some way. When possible, use a F-* label instead.This issue requires a nightly compiler in some way. When possible, use a F-* label instead.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Code
(hand-reduced)
(original, 190+ lines)
Meta
rustc --version --verbose:Error output
Command:
rustcBacktrace
Notes
rustc_hir_analysis/src/impl_wf_check/min_specialization.rs L417rust/compiler/rustc_hir_analysis/src/impl_wf_check/min_specialization.rs
Lines 413 to 417 in b5b1356
min_specializationfeature.