/ rust Public
ICE when playing around with existential types, impl trait #74018
Area: Associated items such as associated types and consts.
Area: impl Trait. Universally / existentially quantified anonymous types with static dispatch.
Category: This is a bug.
ICE tracked in rust-lang/glacier
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Performance or correctness regression from stable to nightly.
Relevant to the compiler team, which will review and decide on the PR/issue.
This seems to be a regression from
1.45.0-beta.3 (2020-06-27 8196407f01018b442e80)to
1.46.0-nightly (2020-07-03 f844ea1e561475e60232).
The following (totally incorrect, nightly features dependent) code is rejected without an ICE on the mentioned beta version, but nightly handles this less gracefully.
Playground. Scanning the codebase gives the impression that this
bug!can only be triggered when
impl_trait_in_bindingsis enabled. See #61773.
The text was updated successfully, but these errors were encountered: