1
Fork 0

Migrate lint reports in typeck::check_unused to LintDiagnostic

This commit is contained in:
PragmaTwice 2022-08-17 17:47:44 +08:00
parent 86c6ebee8f
commit 98fb65eff9
3 changed files with 53 additions and 36 deletions

View file

@ -123,3 +123,11 @@ typeck_manual_implementation =
.help = add `#![feature(unboxed_closures)]` to the crate attributes to enable
typeck_substs_on_overridden_impl = could not resolve substs on overridden impl
typeck_unused_extern_crate =
unused extern crate
.suggestion = remove it
typeck_extern_crate_not_idiomatic =
`extern crate` is not idiomatic in the new edition
.suggestion = convert it to a `{$msg_code}`