about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2024-03-07Use was_invoked_from_cargo method instead of hand-written oneUrgau-1/+1
2024-03-07Add early-return when checking if a path is localUrgau-2/+4
2024-03-07Remove useless smallvec dependency in rustc_lint::non_local_defUrgau-12/+18
2024-03-07Auto merge of #122113 - matthiaskrgr:rollup-5d1jnwi, r=matthiaskrgrbors-1/+5
2024-03-07Rollup merge of #122107 - Urgau:non_local_def-allow, r=WaffleLapkinMatthias Krüger-1/+2
2024-03-06Temporarily make allow-by-default the non_local_definitions lintUrgau-1/+2
2024-03-06Rollup merge of #121382 - nnethercote:rework-untranslatable_diagnostic-lint, ...Matthias Krüger-46/+128
2024-03-06Fix redundant import errors for preload extern crateyukang-1/+5
2024-03-06Add MatchKind member to the Match expr for pretty printing & fmtRoss Smyth-2/+2
2024-03-06Rewrite the `untranslatable_diagnostic` lint.Nicholas Nethercote-46/+128
2024-03-05Split refining_impl_trait lint into _reachable, _internal variantsTyler Mandry-0/+6
2024-03-06Auto merge of #122041 - matthiaskrgr:rollup-imsmdke, r=matthiaskrgrbors-20/+51
2024-03-05Use `ControlFlow` in AST visitors.Jason Newcomb-10/+8
2024-03-05Convert `TypeVisitor` and `DefIdVisitor` to use `VisitorResult`Jason Newcomb-4/+4
2024-03-05Move visitor utils to `rustc_ast_ir`Jason Newcomb-2/+2
2024-03-05Limit the number of names and values in check-cfg diagnosticsUrgau-20/+51
2024-03-05Auto merge of #121780 - nnethercote:diag-renaming2, r=davidtwcobors-91/+82
2024-03-05Rename `BuiltinLintDiagnostics` as `BuiltinLintDiag`.Nicholas Nethercote-51/+42
2024-03-05Rename `SubdiagnosticMessageOp` as `SubdiagMessageOp`.Nicholas Nethercote-12/+12
2024-03-05Rename `SubdiagnosticMessage` as `SubdiagMessage`.Nicholas Nethercote-1/+1
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-29/+29
2024-03-05Auto merge of #120675 - oli-obk:intrinsics3.0, r=pnkfelixbors-1/+1
2024-03-04Rollup merge of #121969 - nnethercote:ParseSess-cleanups, r=wesleywiserMatthias Krüger-11/+9
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-11/+9
2024-03-04Add `is_intrinsic` helperOli Scherer-1/+1
2024-03-03Rollup merge of #121749 - jieyouxu:issue-45127-fix, r=petrochenkovMatthias Krüger-0/+5
2024-03-01Hoist only-executables check above producing crate ident许杰友 Jieyou Xu (Joe)-3/+5
2024-03-01Rollup merge of #121580 - Suyashtnt:issue-121502-fix, r=michaelwoeristerMatthias Krüger-1/+1
2024-03-01Auto merge of #121728 - tgross35:f16-f128-step1-ty-updates, r=compiler-errorsbors-0/+2
2024-02-29Rollup merge of #121326 - fmease:detect-empty-leading-where-clauses-on-ty-ali...Matthias Krüger-9/+16
2024-02-29Detect empty leading where-clauses on type aliasesLeón Orell Valerian Liehr-9/+16
2024-02-29Mark some once-again-unreachable paths as unreachable.Nicholas Nethercote-9/+5
2024-02-28Auto merge of #121489 - nnethercote:diag-renaming, r=davidtwcobors-122/+120
2024-02-28Add `f16` and `f128` to `rustc_type_ir::FloatTy` and `rustc_abi::Primitive`Trevor Gross-0/+2
2024-02-28Don't lint snake-case on executable crate nameGil Shoshan-1/+4
2024-02-28Remove the `UntranslatableDiagnosticTrivial` lint.Nicholas Nethercote-87/+1
2024-02-28Rename `DiagnosticStyledString` as `DiagStyledString`.Nicholas Nethercote-4/+4
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-119/+117
2024-02-26Auto merge of #121516 - RalfJung:platform-intrinsics-begone, r=oli-obkbors-4/+1
2024-02-26Auto merge of #120586 - ShE3py:exprkind-err, r=fmeasebors-1/+1
2024-02-26Rollup merge of #120840 - HTGAzureX1212:HTGAzureX1212/unicode-identifier-type...Guillaume Gomez-8/+42
2024-02-26separate messages for individual categoriesHTGAzureX1212.-8/+42
2024-02-25Add `ErrorGuaranteed` to `ast::ExprKind::Err`Lieselotte-1/+1
2024-02-25Auto merge of #120393 - Urgau:rfc3373-non-local-defs, r=WaffleLapkinbors-0/+264
2024-02-25Rollup merge of #121586 - gurry:121532-ice-unwrap-on-none, r=cjgillotMatthias Krüger-5/+9
2024-02-25Rollup merge of #121060 - clubby789:bool-newtypes, r=cjgillotMatthias Krüger-1/+1
2024-02-25Don't use `unwrap()` in `ArrayIntoIter` lint when typeck failsGurinder Singh-5/+9
2024-02-25make non-PartialEq-typed consts as patterns a hard errorRalf Jung-0/+5
2024-02-25make unused_imports less assertive in test modulesSuyashtnt-1/+1
2024-02-25remove platform-intrinsics ABI; make SIMD intrinsics be regular intrinsicsRalf Jung-4/+1