1
Fork 0

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:
David Wood 2022-05-04 07:27:12 +01:00
parent 74cea9fdb9
commit 3dac70fcc0
3 changed files with 17 additions and 7 deletions

View file

@ -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