summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2024-03-16Auto merge of #121926 - tgross35:f16-f128-step3-feature-gate, r=compiler-erro...bors-2/+3
2024-03-14Rollup merge of #122487 - GuillaumeGomez:rename-stmtkind-local, r=oli-obkMatthias Krüger-3/+3
2024-03-14Auto merge of #120943 - petrochenkov:somehir3, r=oli-obkbors-1/+2
2024-03-14Rename `ast::StmtKind::Local` into `ast::StmtKind::Let`Guillaume Gomez-3/+3
2024-03-14Enable `f16` and `f128` in HIRTrevor Gross-2/+3
2024-03-13Create some minimal HIR for associated opaque typesVadim Petrochenkov-1/+2
2024-03-13Various style improvements to `rustc_lint::levels`Zalathar-128/+121
2024-03-11Allow multiple `impl Into<{D,Subd}iagMessage>` parameters in a function.Nicholas Nethercote-12/+5
2024-03-11Rename diagnostic derive things.Nicholas Nethercote-2/+1
2024-03-11Rename `DecorateLint` as `LintDiagnostic`.Nicholas Nethercote-26/+26
2024-03-11Rename `AddToDiagnostic` as `Subdiagnostic`.Nicholas Nethercote-28/+28
2024-03-11Rename `IntoDiagnostic` as `Diagnostic`.Nicholas Nethercote-7/+4
2024-03-09Rollup merge of #121813 - Urgau:misc-non_local_defs-lint, r=cjgillotMatthias Krüger-13/+21
2024-03-08Rollup merge of #122181 - chenyukang:yukang-fix-late-lint-crash, r=oli-obkMatthias Krüger-4/+6
2024-03-08Rollup merge of #121563 - Jarcho:use_cf, r=petrochenkovMatthias Krüger-10/+8
2024-03-08Fix crash in late internal checkingyukang-4/+6
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-06Rewrite the `untranslatable_diagnostic` lint.Nicholas Nethercote-46/+128
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