lint: port expectation diagnostics
Signed-off-by: David Wood <david.wood@huawei.com>
This commit is contained in:
parent
2a69640eb2
commit
a0624eb6c9
2 changed files with 6 additions and 2 deletions
|
@ -12,3 +12,6 @@ lint-enum-intrinsics-mem-discriminant =
|
|||
lint-enum-intrinsics-mem-variant =
|
||||
the return value of `mem::variant_count` is unspecified when called with a non-enum type
|
||||
.note = the type parameter of `variant_count` should be an enum, but it was instantiated with the type `{$ty_param}`, which is not an enum.
|
||||
|
||||
lint-expectation = this lint expectation is unfulfilled
|
||||
.note = the `unfulfilled_lint_expectations` lint can't be expected and will always produce this message
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue