lint: port incomplete features diagnostics
Signed-off-by: David Wood <david.wood@huawei.com>
This commit is contained in:
parent
acea23e796
commit
bd8fe82138
3 changed files with 15 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue