GAT ICE: missing generic associated type in trait path #81712
Labels
A-GATs
Area: Generic associated types (GATs)
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
F-generic_associated_types
`#![feature(generic_associated_types)]` a.k.a. GATs
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This ICE is related to #44265:
Code
Meta
rustc --version --verbose
:Error output
Backtrace
Ideally,
C<DType<T> = Self>
would compile, but generic associated types in trait paths are currently not implemented. Maybe rustc could give a nice error message when the<T>
is missing.The text was updated successfully, but these errors were encountered: