about summary refs log tree commit diff
path: root/compiler/rustc_lint
AgeCommit message (Expand)AuthorLines
2024-09-06elided_named_lifetimes: manually implement `LintDiagnostic`Pavel Grigorenko-33/+49
2024-09-06elided_named_lifetimes: add suggestionsPavel Grigorenko-16/+32
2024-09-06elided_named_lifetimes: unify lint def & pass MissingLifetimeKindPavel Grigorenko-10/+13
2024-09-06Also emit `missing_docs` lint with `--test` to fulfill expectationsUrgau-6/+0
2024-09-06Rollup merge of #129969 - GrigorenkoPV:boxed-ty, r=compiler-errorsMatthias Krüger-10/+8
2024-09-06Auto merge of #129999 - matthiaskrgr:rollup-pzr9c8p, r=matthiaskrgrbors-3/+32
2024-09-06Make `Ty::boxed_ty` return an `Option`Pavel Grigorenko-10/+8
2024-09-05Review commentsMichael Goulet-48/+40
2024-09-05Do less work on the good pathMichael Goulet-110/+113
2024-09-05Don't worry about uncaptured contravariant lifetimes if they outlive a captur...Michael Goulet-21/+226
2024-09-03Add an internal lint that warns when accessing untracked dataNadrieril-3/+32
2024-09-02Rollup merge of #129877 - Sajjon:sajjon_fix_typos_batch_2, r=fee1-deadMatthias Krüger-1/+1
2024-09-02Rollup merge of #129875 - Sajjon:sajjon_fix_typos_batch_1, r=compiler-errors,...Matthias Krüger-2/+2
2024-09-02chore: Fix typos in 'compiler' (batch 2)Alexander Cyon-1/+1
2024-09-02chore: Fix typos in 'compiler' (batch 1)Alexander Cyon-2/+2
2024-09-02Rollup merge of #129678 - compiler-errors:type-ir-inherent, r=fmeaseMatthias Krüger-2/+36
2024-09-01Deny imports of rustc_type_ir::inherent outside of type ir + new trait solverMichael Goulet-2/+36
2024-09-01Auto merge of #127313 - cjgillot:single-expect, r=jieyouxubors-264/+142
2024-09-01Rollup merge of #129207 - GrigorenkoPV:elided-is-named, r=cjgillotMatthias Krüger-0/+27
2024-08-31Simplify lint source computation.Camille GILLOT-105/+83
2024-08-31Remove attr_id from stable lint ids.Camille GILLOT-14/+7
2024-08-31Rewrite lint_expectations in a single pass.Camille GILLOT-148/+56
2024-08-31Use AttrId key for unstable<->stable expectation map.Camille GILLOT-5/+4
2024-08-31Implement `elided_named_lifetimes` lintPavel Grigorenko-0/+27
2024-08-31Rollup merge of #129725 - compiler-errors:predicates-of, r=fmeaseMatthias Krüger-2/+1
2024-08-31Rollup merge of #129527 - compiler-errors:lint-nit, r=NadrierilMatthias Krüger-12/+13
2024-08-29Stop using ty::GenericPredicates for non-predicates_of queriesMichael Goulet-2/+1
2024-08-27Add `warn(unreachable_pub)` to `rustc_lint`.Nicholas Nethercote-268/+269
2024-08-26Rollup merge of #129600 - traviscross:TC/tie-impl_trait_overcaptures-to-rust-...Matthias Krüger-4/+6
2024-08-26Tie `impl_trait_overcaptures` lint to Rust 2024Travis Cross-4/+6
2024-08-25Auto merge of #129521 - matthiaskrgr:rollup-uigv77m, r=matthiaskrgrbors-1/+2
2024-08-24Rollup merge of #128735 - jieyouxu:pr-120176-revive, r=cjgillotTrevor Gross-15/+44
2024-08-24Don't use TyKind in lintMichael Goulet-12/+13
2024-08-24Rollup merge of #129199 - RalfJung:writes_through_immutable_pointer, r=compil...Matthias Krüger-1/+2
2024-08-23Auto merge of #129464 - GuillaumeGomez:rollup-ckfqd7h, r=GuillaumeGomezbors-2/+3
2024-08-23Rollup merge of #129408 - Urgau:macro-arg-drop_copy, r=compiler-errorsGuillaume Gomez-2/+3
2024-08-23Rollup merge of #129386 - cjgillot:local-resolved-arg, r=compiler-errorsMatthias Krüger-8/+9
2024-08-22Fix handling of macro arguments within the `dropping_copy_types lintUrgau-2/+3
2024-08-22Auto merge of #129365 - matthiaskrgr:rollup-ebwx6ya, r=matthiaskrgrbors-68/+84
2024-08-22Use a LocalDefId in ResolvedArg.Camille GILLOT-8/+9
2024-08-21Rollup merge of #128941 - GrigorenkoPV:internal-diagnostic-lints, r=davidtwcoMatthias Krüger-68/+84
2024-08-21Rollup merge of #129344 - compiler-errors:less-option-unit-diagnostics, r=jie...Matthias Krüger-10/+8
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-10/+8
2024-08-21lint on tail expr drop order change in Edition 2024Ding Xiang Fei-0/+312
2024-08-20Auto merge of #127672 - compiler-errors:precise-capturing, r=spastorinobors-6/+1
2024-08-17Stabilize opaque type precise capturingMichael Goulet-6/+1
2024-08-17make writes_through_immutable_pointer a hard errorRalf Jung-1/+2
2024-08-16Use FnSig instead of raw FnDecl for ForeignItemKind::FnMichael Goulet-3/+6
2024-08-15Rollup merge of #129065 - nnethercote:PartialEq-TokenKind, r=spastorinoMatthias Krüger-1/+1
2024-08-14Use `impl PartialEq<TokenKind> for Token` more.Nicholas Nethercote-1/+1