summary refs log tree commit diff
path: root/compiler/rustc_lint_defs/src
AgeCommit message (Expand)AuthorLines
2024-03-14Rollup merge of #122373 - surechen:fix_121331, r=petrochenkovMatthias Krüger-0/+1
2024-03-14Rollup merge of #122482 - weiznich:fix/122446, r=compiler-errorsMatthias Krüger-1/+0
2024-03-14Rollup merge of #121899 - shepmaster:dead-code-docs, r=wesleywiserMatthias Krüger-0/+14
2024-03-14Ungate the `UNKNOWN_OR_MALFORMED_DIAGNOSTIC_ATTRIBUTES` lintGeorg Semmler-1/+0
2024-03-14fixes #121331surechen-0/+1
2024-03-13Add produces as tidy requiresWesley Wiser-0/+2
2024-03-13Added an "Explanation" header and expanded that section for the newly added l...Felix S. Klock II-0/+8
2024-03-13downgrade mutable-ptr-in-final-value from hard-error to future-incompat lint ...Felix S. Klock II-0/+36
2024-03-09Declare new lintNadrieril-0/+31
2024-03-06Document how removing a type's field can be bad and what to do insteadJake Goulding-0/+14
2024-03-05Rename `BuiltinLintDiagnostics` as `BuiltinLintDiag`.Nicholas Nethercote-5/+5
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-5/+5
2024-03-01Rollup merge of #111505 - GuillaumeGomez:turn-invalid-doc-attr-into-err, r=ru...Matthias Krüger-10/+1
2024-02-29Detect empty leading where-clauses on type aliasesLeón Orell Valerian Liehr-1/+1
2024-02-29Make `invalid_doc_attributes` deny by defaultGuillaume Gomez-10/+1
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-1/+1
2024-02-28Rename `Diagnostic` as `DiagInner`.Nicholas Nethercote-1/+1
2024-02-25make non-PartialEq-typed consts as patterns a hard errorRalf Jung-52/+0
2024-02-20Rollup merge of #120716 - spastorino:change-some-lint-msgs, r=lcnrNilstrieb-36/+1
2024-02-19Remove suspicious auto trait lintSantiago Pastorino-35/+0
2024-02-19Rollup merge of #121230 - GuillaumeGomez:extend-level-api, r=NadrierilMatthias Krüger-13/+17
2024-02-18Change leak check lint message to behavior is likely to change in the futureSantiago Pastorino-1/+1
2024-02-18Improve wording of static_mut_refObei Sideg-4/+4
2024-02-18Extend Level APIGuillaume Gomez-13/+17
2024-02-13Bump `indexmap`clubby789-1/+2
2024-02-10Remove unnecessary `#![feature(min_specialization)]`Zalathar-2/+0
2024-02-09Rollup merge of #120693 - nnethercote:invert-diagnostic-lints, r=davidtwcoMatthias Krüger-2/+0
2024-02-06Invert diagnostic lints.Nicholas Nethercote-2/+0
2024-02-05update the tracking issue for structural match violationsRalf Jung-2/+2
2024-02-05show indirect_structural_match and pointer_structural_match in future compat ...Ralf Jung-2/+2
2024-02-05get rid of nontrivial_structural_match lint and custom_eq const qualifRalf Jung-40/+3
2024-01-26remove illegal_floating_point_literal_pattern lintRalf Jung-50/+0
2024-01-22Rollup merge of #119948 - asquared31415:unsafe_op_in_unsafe_fn_fix, r=TaKO8KiMatthias Krüger-0/+5
2024-01-21exclude unexported macro bindings from extern cratebohan-0/+47
2024-01-15make unsafe_op_in_unsafe_fn MachineApplicable and add it to 2024 compatibilityasquared31415-0/+5
2024-01-09Rollup merge of #117556 - obeis:static-mut-ref-lint, r=davidtwcoGuillaume Gomez-0/+52
2024-01-08Make inductive cycles in coherence ambiguous alwaysMichael Goulet-40/+0
2024-01-06Disallow reference to `static mut` for expressionsObei Sideg-0/+52
2024-01-05Auto merge of #119192 - michaelwoerister:mcp533-push, r=cjgillotbors-1/+11
2024-01-05Auto merge of #118297 - shepmaster:warn-dead-tuple-fields, r=WaffleLapkinbors-29/+7
2024-01-04Split StableCompare trait out of StableOrd trait.Michael Woerister-1/+11
2024-01-02Merge `unused_tuple_struct_fields` into `dead_code`Jake Goulding-29/+7
2024-01-01Update deadlinks of `strict_provenance` lintsLieselotte-4/+4
2023-12-25Auto merge of #116274 - RalfJung:soft_unstable, r=cjgillotbors-1/+1
2023-12-16Remove the lint outrightMichael Goulet-8/+0
2023-12-16Make IMPLIED_BOUNDS_ENTAILMENT into a hard error from a lintMichael Goulet-35/+1
2023-12-12Rollup merge of #117927 - ehuss:future-incompat-docs, r=wesleywiserMatthias Krüger-0/+67
2023-12-07Auto merge of #118324 - RalfJung:ctfe-read-only-pointers, r=saethlinbors-128/+163
2023-12-07compile-time evaluation: emit a lint when a write through an immutable pointe...Ralf Jung-128/+163
2023-12-05Update unexpected_cfgs lint definition with new syntax and diagnosticsUrgau-5/+6