summary refs log tree commit diff
path: root/compiler/rustc_lint/src/lints.rs
AgeCommit message (Expand)AuthorLines
2024-06-06Auto merge of #124482 - spastorino:unsafe-extern-blocks, r=oli-obkbors-0/+7
2024-06-05Make MISSING_UNSAFE_ON_EXTERN lint emit future compat info with suggestion to...Santiago Pastorino-1/+4
2024-06-04Rollup merge of #125596 - nnethercote:rental-hard-error, r=estebankGuillaume Gomez-8/+0
2024-06-04Make extern blocks without unsafe warn in edition 2024Santiago Pastorino-0/+4
2024-05-29Change lint_dropping_copy_types to use UseLetUnderscoreIgnoreSuggestion as su...surechen-14/+1
2024-05-29 Let lint_forgetting_references give the suggestion if possiblesurechen-6/+11
2024-05-29 Let lint_forgetting_copy_types give the suggestion if possible.surechen-1/+2
2024-05-29Let lint_dropping_references give the suggestion if possible.surechen-1/+15
2024-05-29Auto merge of #125433 - surechen:fix_125189, r=Urgaubors-1/+15
2024-05-28Convert `proc_macro_back_compat` lint to an unconditional error.Nicholas Nethercote-8/+0
2024-05-27non_local_defs: point the parent item when appropriateUrgau-8/+8
2024-05-27non_local_defs: point to Self and Trait to give more contextUrgau-0/+8
2024-05-27non_local_defs: suggest removing leading ref/ptr to make the impl localUrgau-1/+13
2024-05-27non_local_defs: be more precise about what needs to be movedUrgau-7/+5
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/+13
2024-05-27non_local_defs: improve some notes around trait, bounds, constsUrgau-10/+20
2024-05-27non_local_defs: move out from `#[derive(LintDiagnostic)]` to manual implUrgau-16/+64
2024-05-27Auto merge of #125410 - fmease:adj-lint-diag-api, r=nnethercotebors-44/+12
2024-05-24A small diagnostic improvement for dropping_copy_typessurechen-1/+15
2024-05-23Rollup merge of #125412 - Urgau:check-cfg-less-build-rs, r=wesleywiserGuillaume Gomez-12/+24
2024-05-23Rollup merge of #125210 - fmease:fix-up-some-diags, r=davidtwcoMatthias Krüger-1/+1
2024-05-23Rollup merge of #125156 - zachs18:for_loops_over_fallibles_behind_refs, r=Nil...Matthias Krüger-0/+1
2024-05-23Remove `LintDiagnostic::msg`León Orell Valerian Liehr-44/+12
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-12/+24
2024-05-21Make early lints translatableXiretza-9/+592
2024-05-21Convert unexpected_cfg_{name,value} to struct diagnosticsXiretza-0/+251
2024-05-21Convert NAMED_ASM_LABELS lint to diag structXiretza-0/+6
2024-05-20Implement BOXED_SLICE_INTO_ITERMichael Goulet-5/+6
2024-05-15Include reference in lint diagnosticZachary S-0/+1
2024-05-01Adjust `#[macro_export]`/doctest help suggestion for non_local_defs lintUrgau-4/+8
2024-04-21Pass translation closure to add_to_diag_with() as referenceXiretza-9/+9
2024-03-29Add support for NonNull in ambiguous_wide_ptr_comparisionsUrgau-6/+12
2024-03-29Add detection of [Partial]Ord methods to the ambiguous wide ptr cmp lintUrgau-6/+8
2024-03-11Rename `DecorateLint` as `LintDiagnostic`.Nicholas Nethercote-11/+11
2024-03-11Rename `AddToDiagnostic` as `Subdiagnostic`.Nicholas Nethercote-21/+21
2024-03-05Rename `SubdiagnosticMessageOp` as `SubdiagMessageOp`.Nicholas Nethercote-10/+10
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-15/+15
2024-02-28Auto merge of #121489 - nnethercote:diag-renaming, r=davidtwcobors-23/+23
2024-02-28Remove the `UntranslatableDiagnosticTrivial` lint.Nicholas Nethercote-4/+0
2024-02-28Rename `DiagnosticStyledString` as `DiagStyledString`.Nicholas Nethercote-4/+4
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-20/+20
2024-02-26Rollup merge of #120840 - HTGAzureX1212:HTGAzureX1212/unicode-identifier-type...Guillaume Gomez-0/+2
2024-02-26separate messages for individual categoriesHTGAzureX1212.-0/+2
2024-02-25Auto merge of #120393 - Urgau:rfc3373-non-local-defs, r=WaffleLapkinbors-0/+39
2024-02-23Rollup merge of #121471 - estebank:lint-clone, r=TaKO8KiMatthias Krüger-0/+6
2024-02-22When encountering `<&T as Clone>::clone(x)` because `T: Clone`, suggest `#[de...Esteban Küber-0/+6
2024-02-21Rollup merge of #121338 - jieyouxu:ambiguous_wide_pointer_comparisons_suggest...Dylan DPC-3/+6
2024-02-20Downgrade ambiguous_wide_pointer_comparisons suggestions to MaybeIncorrect许杰友 Jieyou Xu (Joe)-3/+6