about summary refs log tree commit diff
path: root/compiler/rustc_lint
AgeCommit message (Expand)AuthorLines
2024-06-12Auto merge of #126319 - workingjubilee:rollup-lendnud, r=workingjubileebors-3/+5
2024-06-12Add a `fn main() {}` to a doctest to prevent the test from being wrapped in a...Oli Scherer-0/+2
2024-06-12Use `tidy` to sort crate attributes for all compiler crates.Nicholas Nethercote-3/+5
2024-06-11Rollup merge of #125659 - tbu-:pr_rm_isize, r=pnkfelix许杰友 Jieyou Xu (Joe)-1/+1
2024-06-11replace version placeholderPietro Albini-2/+2
2024-06-11Rollup merge of #125913 - fmease:early-lints-spruce-up-some-diags, r=Nadrieril许杰友 Jieyou Xu (Joe)-7/+14
2024-06-06Rollup merge of #126040 - Urgau:unreachable_pub-fields-less, r=petrochenkovJubilee-6/+15
2024-06-06Don't warn on fields in the `unreachable_pub` lintUrgau-6/+15
2024-06-06Auto merge of #124482 - spastorino:unsafe-extern-blocks, r=oli-obkbors-3/+16
2024-06-05Make MISSING_UNSAFE_ON_EXTERN lint emit future compat info with suggestion to...Santiago Pastorino-3/+7
2024-06-04Rollup merge of #125596 - nnethercote:rental-hard-error, r=estebankGuillaume Gomez-14/+0
2024-06-04Handle safety keyword for extern block inner itemsSantiago Pastorino-3/+3
2024-06-04Make extern blocks without unsafe warn in edition 2024Santiago Pastorino-0/+9
2024-06-04Rollup merge of #125750 - compiler-errors:expect, r=lcnr许杰友 Jieyou Xu (Joe)-1/+1
2024-06-03Align Term methods with GenericArg methodsMichael Goulet-1/+1
2024-06-03check_is_object_safe -> is_object_safeMichael Goulet-2/+2
2024-06-03Spruce up the diagnostics of some early lintsLeón Orell Valerian Liehr-7/+14
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/+17
2024-05-29Change lint_dropping_copy_types to use UseLetUnderscoreIgnoreSuggestion as su...surechen-33/+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-25/+38
2024-05-29 Let lint_forgetting_copy_types give the suggestion if possible.surechen-2/+5
2024-05-29Let lint_dropping_references give the suggestion if possible.surechen-3/+30
2024-05-29Auto merge of #125433 - surechen:fix_125189, r=Urgaubors-5/+33
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-14/+0
2024-05-27non_local_defs: point the parent item when appropriateUrgau-18/+31
2024-05-27non_local_defs: point to Self and Trait to give more contextUrgau-7/+89
2024-05-27non_local_defs: suggest removing leading ref/ptr to make the impl localUrgau-31/+66
2024-05-27non_local_defs: improve main without a trait noteUrgau-1/+1
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-3/+1
2024-05-27non_local_defs: use labels to indicate what may need to be movedUrgau-3/+19
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-15/+30
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