1
Fork 0

lint: port incomplete features diagnostics

Signed-off-by: David Wood <david.wood@huawei.com>
This commit is contained in:
David Wood 2022-06-28 14:40:11 +01:00
parent acea23e796
commit bd8fe82138
3 changed files with 15 additions and 14 deletions

View file

@ -382,3 +382,7 @@ lint-builtin-explicit-outlives = outlives requirements can be inferred
[one] this bound
*[other] these bounds
}
lint-builtin-incomplete-features = the feature `{$name}` is incomplete and may not be safe to use and/or cause compiler crashes
.note = see issue #{$n} <https://github.com/rust-lang/rust/issues/{$n}> for more information
.help = consider using `min_{$name}` instead, which is more stable and complete