about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2024-06-03Spruce up the diagnostics of some early lintsLeón Orell Valerian Liehr-2/+7
2024-06-03Tweak `CheckLintNameResult::Tool`.Nicholas Nethercote-53/+46
2024-06-03Reduce some `pub` exposure.Nicholas Nethercote-2/+2
2024-06-03Fix up comments.Nicholas Nethercote-51/+69
2024-05-30Auto merge of #125711 - oli-obk:const_block_ice2, r=Nadrierilbors-5/+5
2024-05-29non_local_defs: move cargo update suggestion upperUrgau-3/+3
2024-05-29non_local_defs: indicate that the macro needs to changeUrgau-0/+16
2024-05-29Change lint_dropping_copy_types to use UseLetUnderscoreIgnoreSuggestion as su...surechen-31/+8
2024-05-29Don't require `visit_body` to take a lifetime that must outlive the function ...Oli Scherer-5/+5
2024-05-29 Let lint_forgetting_references give the suggestion if possiblesurechen-20/+36
2024-05-29 Let lint_forgetting_copy_types give the suggestion if possible.surechen-2/+3
2024-05-29Let lint_dropping_references give the suggestion if possible.surechen-3/+29
2024-05-29Auto merge of #125433 - surechen:fix_125189, r=Urgaubors-5/+32
2024-05-28Remove usage of `isize` in exampleTobias Bucher-1/+1
2024-05-28Convert `proc_macro_back_compat` lint to an unconditional error.Nicholas Nethercote-11/+0
2024-05-27non_local_defs: point the parent item when appropriateUrgau-13/+25
2024-05-27non_local_defs: point to Self and Trait to give more contextUrgau-7/+84
2024-05-27non_local_defs: suggest removing leading ref/ptr to make the impl localUrgau-30/+64
2024-05-27non_local_defs: be more precise about what needs to be movedUrgau-9/+43
2024-05-27non_local_defs: improve exception note for impl and macro_rules!Urgau-1/+0
2024-05-27non_local_defs: use labels to indicate what may need to be movedUrgau-2/+16
2024-05-27non_local_defs: use span of the impl def and not the impl blockUrgau-1/+1
2024-05-27non_local_defs: improve some notes around trait, bounds, constsUrgau-13/+26
2024-05-27non_local_defs: move out from `#[derive(LintDiagnostic)]` to manual implUrgau-17/+64
2024-05-27Rollup merge of #125597 - compiler-errors:early-binder, r=jackh726Guillaume Gomez-1/+1
2024-05-27Auto merge of #125410 - fmease:adj-lint-diag-api, r=nnethercotebors-325/+199
2024-05-27Auto merge of #125468 - BoxyUwU:remove_defid_from_regionparam, r=compiler-errorsbors-16/+22
2024-05-26Give EarlyBinder a tcx parameterMichael Goulet-1/+1
2024-05-26Auto merge of #124661 - RalfJung:only-structural-consts-in-patterns, r=pnkfelixbors-0/+10
2024-05-24move generics_of call outside of iterBoxy-1/+3
2024-05-24Remove `DefId` from `EarlyParamRegion` (tedium/diagnostics)Boxy-3/+15
2024-05-24Remove `DefId` from `EarlyParamRegion` (type system)Boxy-13/+5
2024-05-24Rollup merge of #125477 - nnethercote:missed-rustfmt, r=compiler-errorsMatthias Krüger-1/+3
2024-05-24A small diagnostic improvement for dropping_copy_typessurechen-5/+32
2024-05-24Run rustfmt on files that need it.Nicholas Nethercote-1/+3
2024-05-24Auto merge of #125463 - GuillaumeGomez:rollup-287wx4y, r=GuillaumeGomezbors-24/+42
2024-05-23Rollup merge of #125412 - Urgau:check-cfg-less-build-rs, r=wesleywiserGuillaume Gomez-24/+42
2024-05-23Auto merge of #125434 - nnethercote:rm-more-extern-tracing, r=jackh726bors-6/+10
2024-05-23Rollup merge of #125416 - compiler-errors:param-env-missing-copy, r=lcnrMatthias Krüger-5/+4
2024-05-23Rollup merge of #125210 - fmease:fix-up-some-diags, r=davidtwcoMatthias Krüger-1/+1
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_lint`.Nicholas Nethercote-6/+10
2024-05-23Rollup merge of #125156 - zachs18:for_loops_over_fallibles_behind_refs, r=Nil...Matthias Krüger-2/+16
2024-05-23Delay the construction of early lint diag structsLeón Orell Valerian Liehr-231/+156
2024-05-23Remove `LintDiagnostic::msg`León Orell Valerian Liehr-94/+43
2024-05-22Cleanup: Fix up some diagnosticsLeón Orell Valerian Liehr-1/+1
2024-05-22Don't suggest adding the unexpected cfgs the build-script it-selfUrgau-24/+42
2024-05-22Use correct param-env in MissingCopyImplementationsMichael Goulet-5/+4
2024-05-21Make early lints translatableXiretza-471/+938
2024-05-21Convert uses of BuiltinLintDiag::Normal to custom variantsXiretza-12/+125
2024-05-21Port DeprecatedMacro to diag structsXiretza-4/+21