about summary refs log tree commit diff
path: root/compiler/rustc_lint
AgeCommit message (Expand)AuthorLines
2024-05-13And finally add testsMichael Goulet-15/+74
2024-05-13Warn against redundant use<...>Michael Goulet-76/+150
2024-05-13Don't suggest using use<> syntax to capture APITsMichael Goulet-4/+9
2024-05-13Suggest adding use<> syntaxMichael Goulet-6/+42
2024-05-13Add some commentingMichael Goulet-4/+23
2024-05-13Implement initial IMPL_TRAIT_OVERCAPTURES lintMichael Goulet-0/+246
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
2024-05-02Rollup merge of #124624 - WaffleLapkin:old_unit, r=fmeaseMatthias Krüger-3/+2
2024-05-02Inline & delete `Ty::new_unit`, since it's just a field accessWaffle Lapkin-3/+2
2024-05-02Rollup merge of #124568 - Urgau:non-local-defs-doctest, r=michaelwoerister,Gu...Guillaume Gomez-4/+19
2024-05-01Adjust `#[macro_export]`/doctest help suggestion for non_local_defs lintUrgau-4/+19
2024-05-01Auto merge of #124539 - Urgau:non-local-defs_modulo_modules, r=lcnrbors-5/+11
2024-04-30Rollup merge of #124511 - nnethercote:rm-extern-crates, r=fee1-deadMatthias Krüger-4/+34
2024-04-29Consider inner modules to be local in the `non_local_definitions` lintUrgau-5/+11
2024-04-29Rollup merge of #124522 - blyxyas:refactor-is-loaded, r=jieyouxu许杰友 Jieyou Xu (Joe)-8/+10
2024-04-29[Refactor] Rename Lint and LintGroup\'s is_loaded to is_externally_loadedblyxyas-8/+10
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote-2/+7
2024-04-29Remove `extern crate rustc_session` from `rustc_lint`.Nicholas Nethercote-2/+27
2024-04-28Fix #124478 - offset_of! returns a temporaryGeorge Bateman-0/+1
2024-04-26Move `ConstArg::span` to `AnonConst::span`Oli Scherer-3/+6
2024-04-25ast: Generalize item kind visitingVadim Petrochenkov-1/+1
2024-04-23Put the RFC behind a feature gate `result_ffi_guarantees`Arvind Mukund-0/+4
2024-04-23Remove comment out of RFC's scopeArvind Mukund-1/+0
2024-04-23Reword `is_niche_optimization_candidate` docArvind Mukund-1/+1
2024-04-23Disallow single-variant enumsArvind Mukund-4/+6
2024-04-23Don't lint niche optimized variants in enumsArvind Mukund-20/+13
2024-04-23We don't need to check for non-exhaustive fieldsArvind Mukund-2/+1