typeck: port "unconstrained opaque type" diag
Port the "unconstrained opaque type" diagnostic to using the diagnostic derive. Signed-off-by: David Wood <david.wood@huawei.com>
This commit is contained in:
parent
74cea9fdb9
commit
3dac70fcc0
3 changed files with 17 additions and 7 deletions
|
@ -90,3 +90,6 @@ typeck-add-return-type-missing-here = a return type might be missing here
|
|||
typeck-expected-default-return-type = expected `()` because of default return type
|
||||
|
||||
typeck-expected-return-type = expected `{$expected}` because of return type
|
||||
|
||||
typeck-unconstrained-opaque-type = unconstrained opaque type
|
||||
.note = `{$name}` must be used in combination with a concrete type within the same module
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue