Rollup merge of #102568 - compiler-errors:lint-unsatisfied-opaques, r=oli-obk
Lint against nested opaque types that don't satisfy associated type bounds See the test failures for examples of places where this lint would fire. r? `@oli-obk`
This commit is contained in:
commit
35f92ed1bf
16 changed files with 274 additions and 1 deletions
|
@ -433,3 +433,7 @@ lint_check_name_unknown_tool = unknown lint tool: `{$tool_name}`
|
|||
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_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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue