1
Fork 0

Add internal lint for detecting non-glob imports of rustc_type_ir::inherent

This commit is contained in:
León Orell Valerian Liehr 2024-07-17 12:35:50 +02:00
parent 44fb8575de
commit 2507301de0
No known key found for this signature in database
GPG key ID: D17A07215F68E713
9 changed files with 168 additions and 2 deletions

View file

@ -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>