Add internal lint for detecting non-glob imports of rustc_type_ir::inherent
This commit is contained in:
parent
44fb8575de
commit
2507301de0
9 changed files with 168 additions and 2 deletions
|
@ -556,6 +556,9 @@ lint_non_fmt_panic_unused =
|
|||
}
|
||||
.add_fmt_suggestion = or add a "{"{"}{"}"}" format string to use the message literally
|
||||
|
||||
lint_non_glob_import_type_ir_inherent = non-glob import of `rustc_type_ir::inherent`
|
||||
.suggestion = try using a glob import instead
|
||||
|
||||
lint_non_local_definitions_cargo_update = the {$macro_kind} `{$macro_name}` may come from an old version of the `{$crate_name}` crate, try updating your dependency with `cargo update -p {$crate_name}`
|
||||
|
||||
lint_non_local_definitions_deprecation = this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue