summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
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
2024-08-07unused_parens: do not lint against parens around &rawRalf Jung-0/+7
2024-08-07Disallow setting built-in cfgs via set the command-lineUrgau-0/+13
2024-08-07Make `Span` optional in `BufferedEarlyLint`Urgau-3/+17
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-14/+9
2024-08-06Rollup merge of #128517 - clubby789:overflowing-lit-span, r=petrochenkovMatthias Krüger-9/+13
2024-08-06Rollup merge of #128369 - GrigorenkoPV:let-underscore-translatable, r=davidtwcoMatthias Krüger-6/+7
2024-08-06Add a special case for CStr/CString in the improper_ctypes lintFlying-Toast-15/+39
2024-08-05Rollup merge of #127907 - RalfJung:byte_slice_in_packed_struct_with_derive, r...Matthias Krüger-1/+6
2024-08-03Rollup merge of #128368 - nnethercote:rustfmt-tweaks, r=cuviperMatthias Krüger-2/+2
2024-08-01Fallback to string formatting if source is not availableclubby789-9/+13
2024-08-01interpret: simplify pointer arithmetic logicRalf Jung-5/+1
2024-07-31Temporarily switch `ambiguous_negative_literals` lint to allowUrgau-1/+2