mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-24 10:55:04 +00:00
Rollup merge of #120716 - spastorino:change-some-lint-msgs, r=lcnr
Change leak check and suspicious auto trait lint warning messages The leak check lint message "this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!" is misleading as some cases may not be phased out and could end being accepted. This is under discussion still. The suspicious auto trait lint the change in behavior already happened, so the new message is probably more accurate. r? `@lcnr` Closes #93367
This commit is contained in:
commit
01c2ae23c3
1 changed files with 0 additions and 5 deletions
|
@ -502,10 +502,6 @@ pub const DEFAULT_LINTS: &[Lint] = &[
|
|||
label: "stable_features",
|
||||
description: r##"stable features found in `#[feature]` directive"##,
|
||||
},
|
||||
Lint {
|
||||
label: "suspicious_auto_trait_impls",
|
||||
description: r##"the rules governing auto traits have recently changed resulting in potential breakage"##,
|
||||
},
|
||||
Lint {
|
||||
label: "suspicious_double_ref_op",
|
||||
description: r##"suspicious call of trait method on `&&T`"##,
|
||||
|
@ -778,7 +774,6 @@ pub const DEFAULT_LINT_GROUPS: &[LintGroup] = &[
|
|||
"repr_transparent_external_private_fields",
|
||||
"semicolon_in_expressions_from_macros",
|
||||
"soft_unstable",
|
||||
"suspicious_auto_trait_impls",
|
||||
"uninhabited_static",
|
||||
"unstable_name_collisions",
|
||||
"unstable_syntax_pre_expansion",
|
||||
|
|
Loading…
Reference in a new issue