about summary refs log tree commit diff
path: root/compiler/rustc_lint
AgeCommit message (Expand)AuthorLines
2024-05-27non_local_defs: switch to more friendly primary messageUrgau-2/+2
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/+33
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-2/+2
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-3/+17
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-2/+2
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-21Fix typo in deprecation lint messageXiretza-2/+2
2024-05-21Make early lints translatableXiretza-473/+1114
2024-05-21Convert uses of BuiltinLintDiag::Normal to custom variantsXiretza-12/+139
2024-05-21Port DeprecatedMacro to diag structsXiretza-4/+21
2024-05-21Generate lint diagnostic message from BuiltinLintDiagXiretza-24/+150
2024-05-21Convert unexpected_cfg_{name,value} to struct diagnosticsXiretza-152/+436
2024-05-21Convert NAMED_ASM_LABELS lint to diag structXiretza-19/+14
2024-05-20Adjust the method ambiguity lint tooMichael Goulet-1/+1
2024-05-20Implement BOXED_SLICE_INTO_ITERMichael Goulet-160/+174
2024-05-20BackticksMichael Goulet-1/+1
2024-05-20Auto merge of #125219 - Urgau:check-cfg-cargo-config, r=fmeasebors-18/+32
2024-05-20Fix quote escaping inside check-cfg valueUrgau-3/+2
2024-05-19Rollup merge of #124948 - blyxyas:remove-repeated-words, r=compiler-errorsMatthias Krüger-1/+1
2024-05-19Refer to the Cargo specific doc in the check-cfg diagnosticsUrgau-2/+4
2024-05-19Prefer suggesting string-literal for Cargo `check-cfg` lint configUrgau-18/+29
2024-05-18Auto merge of #125077 - spastorino:add-new-fnsafety-enum2, r=jackh726bors-5/+5
2024-05-18Fix typos (taking into account review comments)blyxyas-1/+1
2024-05-17Rename Unsafe to SafetySantiago Pastorino-5/+5
2024-05-16Update `unexpected_cfgs` lint for Cargo new `check-cfg` configUrgau-6/+8
2024-05-16Remove trivial Binder::dummy callsMichael Goulet-1/+1
2024-05-16Rename ToPredicate for UpcastMichael Goulet-2/+2
2024-05-15Use 'a' article for &Option.Zachary S-0/+1
2024-05-15Include reference in lint diagnosticZachary S-4/+9
2024-05-15Also apply `warn(for_loops_over_fallibles)` to &T and &mut T, not just T = Re...Zachary S-1/+9
2024-05-15Add `on_unimplemented" typo suggestionsmejrs-0/+8