about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
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/+33
2024-09-01Deny imports of rustc_type_ir::inherent outside of type ir + new trait solverMichael Goulet-2/+33
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/+23
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/+23
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/+39
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/+309
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
2024-08-14Auto merge of #129076 - matthiaskrgr:rollup-rg8mi2x, r=matthiaskrgrbors-3/+6
2024-08-14Rollup merge of #129061 - compiler-errors:lang-item, r=UrgauMatthias Krüger-3/+6
2024-08-14Auto merge of #128812 - nnethercote:shrink-TyKind-FnPtr, r=compiler-errorsbors-4/+5
2024-08-13Use is_lang_item moreMichael Goulet-3/+6
2024-08-12Rollup merge of #128886 - GrigorenkoPV:untranslatable-diagnostic, r=nnethercoteGuillaume Gomez-2/+0
2024-08-11Rollup merge of #128762 - fmease:use-more-slice-pats, r=compiler-errorsMatthias Krüger-14/+9
2024-08-10Refactor: `diagnostic_outside_of_impl`, `untranslatable_diagnostic`Pavel Grigorenko-60/+74
2024-08-10`untranslatable_diagnostic` lint: point at the untranslated thingPavel Grigorenko-10/+12
2024-08-10rustc_lint: remove some redundant `#[allow(rustc::untranslatable_diagnostic)]`Pavel Grigorenko-2/+0
2024-08-09diagnostics: do not warn when a lifetime bound infers itselfMichael Howell-6/+15
2024-08-09Shrink `TyKind::FnPtr`.Nicholas Nethercote-4/+5
2024-08-07Auto merge of #128796 - matthiaskrgr:rollup-r7l68ph, r=matthiaskrgrbors-0/+7