defaults on GATs
emit an error but function correctlyish
#99205
Labels
A-GATs
Area: Generic associated types (GATs)
C-bug
Category: This is a bug.
F-generic_associated_types
`#![feature(generic_associated_types)]` a.k.a. GATs
P-medium
Medium priority
I tried this code: playground
I expected to see this happen: It not work correctly as if you remove
#![allow(invalid_type_param_default)]
it shouts at you saying its unsupported and will be a hard error one day.Instead, this happened: defaults on GATs seem to function perfectly fine
Meta
version from playground:
cc @jackh726 this is probably should either be allowed or a hard error before stabilisation?
The text was updated successfully, but these errors were encountered: