1
Fork 0

Make it a lint for all opaque types

This commit is contained in:
Michael Goulet 2022-10-02 05:45:15 +00:00
parent d0d6af9146
commit 426424b320
16 changed files with 237 additions and 147 deletions

View file

@ -434,6 +434,6 @@ lint_check_name_warning = {$msg}
lint_check_name_deprecated = lint name `{$lint_name}` is deprecated and does not have an effect anymore. Use: {$new_name}
lint_rpit_hidden_inferred_bound = return-position `{$ty}` does not satisfy its associated type bounds
lint_opaque_hidden_inferred_bound = opaque type `{$ty}` does not satisfy its associated type bounds
.specifically = this associated type bound is unsatisfied for `{$proj_ty}`
.suggestion = add this bound