about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/lints.rs
AgeCommit message (Expand)AuthorLines
2025-07-17Rollup merge of #143914 - shepmaster:mismatched-lifetime-syntaxes-rewording, ...Matthias Krüger-18/+54
2025-07-17Rollup merge of #143856 - mladedav:dm/private-reexport, r=petrochenkovLeón Orell Valerian Liehr-0/+8
2025-07-15Implement resolver warnings about reexporting private dependenciesDavid Mládek-0/+8
2025-07-14Reword mismatched-lifetime-syntaxes text based on feedbackJake Goulding-18/+54
2025-07-10added error for invalid char castKivooeo-0/+14
2025-07-07Remove unused allow attrsYotam Ofek-1/+0
2025-06-25Rollup merge of #142724 - xizheyin:avoid_overwrite_args, r=oli-obkJana Dönszelmann-5/+6
2025-06-25Add runtime check to avoid overwrite arg easily in diag and store and restore...xizheyin-5/+6
2025-06-24Rollup merge of #142980 - shepmaster:mismatched-syntaxes-multi-suggestions, r...Jubilee-3/+3
2025-06-24Reduce mismatched-lifetime-syntaxes suggestions to MaybeIncorrectJake Goulding-3/+3
2025-06-24Rollup merge of #142645 - Urgau:usage-non_upper_case_globals, r=fmeaseMatthias Krüger-1/+18
2025-06-22Address review commentsUrgau-1/+3
2025-06-20Switch `non_upper_case_globals` suggestions to being machine-applicableUrgau-2/+2
2025-06-18Emit the usages suggestions as tool-only suggestionsUrgau-1/+14
2025-06-18Implement lint against direct uses of rustc_type_ir in compiler cratesRomain Perier-0/+5
2025-06-18Auto merge of #138165 - jdonszelmann:inline, r=oli-obkbors-0/+1
2025-06-18Also emit suggestions for usages in the `non_upper_case_globals` lintUrgau-0/+2
2025-06-17fix bugs in inline/force_inline and diagnostics of all attr parsersJana Dönszelmann-0/+1
2025-06-18Dont suggest remove semi inside macro expansion for redundant semi lintxizheyin-2/+10
2025-06-13Auto merge of #142443 - matthiaskrgr:rollup-l1l6d0v, r=matthiaskrgrbors-4/+0
2025-06-12Rollup merge of #141162 - mejrs:gated, r=fee1-deadMatthias Krüger-26/+0
2025-06-12Make `missing_fragment_specifier` an unconditional errorTrevor Gross-4/+0
2025-06-09Remove rustc_feature::Stabilitymejrs-26/+0
2025-06-09refactor `AttributeGate` and `rustc_attr!` to emit notes during feature chec...mejrs-4/+4
2025-06-04Replace `elided_named_lifetimes` with `mismatched_lifetime_syntaxes`Jake Goulding-54/+2
2025-06-04Introduce the `mismatched_lifetime_syntaxes` lintJake Goulding-0/+125
2025-05-30Rollup merge of #133823 - estebank:issue-56328, r=petrochenkovMatthias Krüger-1/+3
2025-05-29Use `cfg_attr` AST placeholder AST `cfg_attr_trace` for diagnosticsEsteban Küber-1/+3
2025-05-27Rollup merge of #141536 - Urgau:ambi_wide_ptr-cmp-diag, r=fee1-deadMichael Goulet-42/+68
2025-05-25Improve `ambiguous_wide_pointer_comparisons` lint compare diagnosticsUrgau-42/+68
2025-05-23Suggest correct `version("..")` predicate syntax in check-cfgUrgau-0/+10
2025-05-14Use more subdiagnostics and reword the overloaded deref noteUrgau-8/+24
2025-05-14Improve `dangerous_implicit_aurorefs` diagnostic outputUrgau-1/+12
2025-04-20Implement lint against dangerous implicit autorefsUrgau-0/+20
2025-04-16Move eager translation to a method on `Diag`Jake Goulding-36/+8
2025-04-08Remove unnecessary dyn Display in favor of strMichael Goulet-1/+1
2025-03-31Auto merge of #119220 - Urgau:uplift-invalid_null_ptr_usage, r=fee1-deadbors-5/+21
2025-03-30Uplift `clippy::invalid_null_ptr_usage` as `invalid_null_arguments`Urgau-0/+16
2025-03-30Improve explicitness of the impl of the `useless_ptr_null_checks` lintUrgau-5/+5
2025-03-26Implement lint against using Interner and InferCtxtLike in random compiler cr...Michael Goulet-0/+5
2025-02-20Reword messageEsteban Küber-1/+1
2025-02-19Specify scope in `out_of_scope_macro_calls` lintEsteban Küber-0/+3
2025-02-11compiler: replace ExternAbi::name calls with formattersJubilee Young-2/+3
2025-01-27Rollup merge of #136114 - compiler-errors:more-idents, r=jieyouxuGuillaume Gomez-2/+2
2025-01-27Use identifiers in diagnostics more oftenMichael Goulet-2/+2
2025-01-26implement lint `double_negations`Kalle Wachsmuth-0/+18
2025-01-25Rollup merge of #133951 - bjorn3:wasm_c_abi_lint_hard_error, r=workingjubileeJacob Pratt-4/+0
2025-01-25Rollup merge of #134300 - RalfJung:remove-dead-attrs, r=chenyukangMatthias Krüger-13/+0
2025-01-24Auto merge of #135272 - BoxyUwU:generic_arg_infer_reliability_2, r=compiler-e...bors-1/+2
2025-01-23Make the wasm_c_abi future compat warning a hard errorbjorn3-4/+0