import_trait_associated_functions
is not very compatible with min_generic_const_args
#138711
Labels
C-bug
Category: This is a bug.
F-min_generic_const_args
`#![feature(min_generic_const_args)]`
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.
The implementation of
use Trait::AssocItem;
in #134754 didn't update any type checking code, and it still sometimes relies on associated items having at least 2 segments.I tried this code:
I expected to see this happen:
That's what happen without
min_generic_const_args
.Instead, this happened:
The text was updated successfully, but these errors were encountered: