about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2024-05-21Generate lint diagnostic message from BuiltinLintDiagXiretza-24/+139
2024-05-21Convert unexpected_cfg_{name,value} to struct diagnosticsXiretza-152/+402
2024-05-21Convert NAMED_ASM_LABELS lint to diag structXiretza-19/+12
2024-05-20Adjust the method ambiguity lint tooMichael Goulet-1/+1
2024-05-20Implement BOXED_SLICE_INTO_ITERMichael Goulet-153/+167
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-3/+8
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
2024-05-13And finally add testsMichael Goulet-15/+74
2024-05-13Warn against redundant use<...>Michael Goulet-68/+139
2024-05-13Don't suggest using use<> syntax to capture APITsMichael Goulet-4/+9
2024-05-13Suggest adding use<> syntaxMichael Goulet-6/+41
2024-05-13Add some commentingMichael Goulet-4/+23
2024-05-13Implement initial IMPL_TRAIT_OVERCAPTURES lintMichael Goulet-0/+239
2024-05-13split out AliasTy -> AliasTermMichael Goulet-4/+7
2024-05-12Auto merge of #119427 - dtolnay:maccall, r=compiler-errorsbors-0/+27
2024-05-11Document the situation with unused_parens lint and braced macro callsDavid Tolnay-4/+28
2024-05-11Macro call with braces does not require semicolon to be statementDavid Tolnay-1/+4
2024-05-11Mark expr_requires_semi_to_be_stmt call sitesDavid Tolnay-1/+1
2024-05-11Uplift `TraitPredicate`Michael Goulet-3/+2
2024-05-11Rollup merge of #124978 - saethlin:ref-casting_derefs, r=Urgau,NilstriebMatthias Krüger-2/+4
2024-05-10Auto merge of #124982 - compiler-errors:uplift-trait-ref, r=lcnrbors-1/+1
2024-05-10Lift `TraitRef` into `rustc_type_ir`Michael Goulet-1/+1
2024-05-10Handle Deref expressions in invalid_reference_castingBen Kimock-2/+4
2024-05-10Rename some ObligationCauseCode variantsMichael Goulet-5/+2
2024-05-10Rollup merge of #124955 - nnethercote:next_ty_var, r=lcnrMatthias Krüger-2/+1
2024-05-10Use fewer origins when creating type variables.Nicholas Nethercote-2/+1
2024-05-09always use `GenericArgsRef`lcnr-2/+2
2024-05-09Rollup merge of #124908 - saethlin:ref-casting_bigger_place_projection, r=fee...Matthias Krüger-1/+2
2024-05-08Rollup merge of #124869 - compiler-errors:keyword, r=NilstriebMatthias Krüger-1/+10
2024-05-08Rollup merge of #123344 - pietroalbini:pa-unused-imports, r=NilstriebMatthias Krüger-2/+2
2024-05-08Handle field projections like slice indexing in invalid_reference_castingBen Kimock-1/+2
2024-05-08Rollup merge of #124761 - Urgau:ref-casting_bigger_slice_index, r=jieyouxuMatthias Krüger-0/+7
2024-05-07Make sure we don't deny macro vars w keyword namesMichael Goulet-1/+10
2024-05-06Auto merge of #124747 - MasterAwesome:master, r=davidtwcobors-13/+56
2024-05-05Fix insufficient logic when searching for the underlying allocationUrgau-0/+7
2024-05-04Update Cargo diagnostics in check-cfgUrgau-4/+4
2024-05-04Auto merge of #124401 - oli-obk:some_hir_cleanups, r=cjgillotbors-3/+6