Rollup merge of #104216 - Nilstrieb:dont-ice-invalid-operator-traits, r=estebank
Don't ICE on operator trait methods with generic methods Emit a fatal error instead. fixes #104213
This commit is contained in:
commit
e83b4765c3
5 changed files with 50 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue