summary refs log tree commit diff
path: root/compiler/rustc_lint_defs/src/builtin.rs
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-02-29Make `invalid_doc_attributes` deny by defaultGuillaume Gomez-10/+1
2024-02-25make non-PartialEq-typed consts as patterns a hard errorRalf Jung-52/+0
2024-02-19Remove suspicious auto trait lintSantiago Pastorino-35/+0
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-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 #118297 - shepmaster:warn-dead-tuple-fields, r=WaffleLapkinbors-29/+7
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-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
2023-11-18Remove --check-cfg checking of --cfg argsUrgau-0/+1
2023-10-28make pointer_structural_match warn-by-defaultRalf Jung-1/+1
2023-10-28patterns: reject raw pointers that are not just integersRalf Jung-2/+3
2023-10-21Auto merge of #116734 - Nadrieril:lint-per-column, r=cjgillotbors-13/+21
2023-10-18Bump COINDUCTIVE_OVERLAP_IN_COHERENCEMichael Goulet-2/+2
2023-10-14Lint `non_exhaustive_omitted_patterns` per columnNadrieril-13/+21
2023-10-14Auto merge of #115822 - compiler-errors:stabilize-rpitit, r=jackh726bors-1/+0
2023-10-14Auto merge of #115524 - RalfJung:misalign, r=wesleywiserbors-40/+0
2023-10-13Stabilize AFIT and RPITITMichael Goulet-1/+0
2023-09-29make soft_unstable show up in future breakage reportsRalf Jung-1/+1
2023-09-26Auto merge of #115893 - RalfJung:match-require-partial-eq, r=oli-obkbors-0/+52
2023-09-26const-eval: make misalignment a hard errorRalf Jung-40/+0
2023-09-25rename lint; add tracking issueRalf Jung-5/+5
2023-09-24work towards rejecting consts in patterns that do not implement PartialEqRalf Jung-0/+52
2023-09-23Enable drop_tracking_mir by default.Camille GILLOT-0/+1
2023-09-22make the reason: field mandatory for @future_incompatible lintsRalf Jung-14/+40