Removing bound from generic type causes an "overflow evaluating a requirement" error. #65836
Labels
A-traits
Area: Trait system
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
With the following code:
If I remove the where clause for
bar
,it prints this error:I expected to get an error mentioning how
slice
does not implement theFrogg
trait instead.The text was updated successfully, but these errors were encountered: