1
Fork 0

Don't ICE on operator trait methods with generic methods

Emit a fatal error instead.
This commit is contained in:
Nilstrieb 2022-11-09 22:00:13 +01:00
parent cc9b259b5e
commit cedaaa640e
No known key found for this signature in database
5 changed files with 50 additions and 1 deletions

View file

@ -150,3 +150,6 @@ hir_analysis_const_bound_for_non_const_trait =
hir_analysis_self_in_impl_self =
`Self` is not valid in the self type of an impl block
.note = replace `Self` with a different type
hir_analysis_op_trait_generic_params =
`{$method_name}` must not have any generic parameters