about summary refs log tree commit diff
path: root/compiler/rustc_lint
AgeCommit message (Expand)AuthorLines
2024-09-13some fixes for clashing_extern_declarations lintRalf Jung-39/+35
2024-09-13Auto merge of #107251 - dingxiangfei2009:let-chain-rescope, r=jieyouxubors-0/+438
2024-09-13simplify the suggestion notesDing Xiang Fei-111/+124
2024-09-12Rollup merge of #130235 - compiler-errors:nested-if, r=michaelwoeristerStuart Cook-4/+2
2024-09-11Rollup merge of #130114 - eduardosm:needless-returns, r=compiler-errorsJubilee-1/+1
2024-09-11Simplify some nested if statementsMichael Goulet-4/+2
2024-09-11Auto merge of #130050 - cjgillot:expect-attr-id, r=fee1-deadbors-51/+39
2024-09-11coalesce lint suggestions that can intersectDing Xiang Fei-110/+215
2024-09-11rescope temp lifetime in let-chain into IfElseDing Xiang Fei-0/+320
2024-09-10Auto merge of #130025 - Urgau:missing_docs-expect, r=petrochenkovbors-6/+0
2024-09-09Remove needless returns detected by clippy in the compilerEduardo Sánchez Muñoz-1/+1
2024-09-07Rollup merge of #126452 - compiler-errors:raw-lifetimes, r=spastorinoMatthias Krüger-5/+35
2024-09-06Check AttrId for expectations.Camille GILLOT-51/+39
2024-09-06Lint against keyword lifetimes in keyword_identsMichael Goulet-5/+18
2024-09-06Add initial support for raw lifetimesMichael Goulet-0/+17
2024-09-06Hack around a conflict with `clippy::needless_lifetimes`Pavel Grigorenko-0/+7
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