about summary refs log tree commit diff
path: root/compiler/rustc_lint
AgeCommit message (Expand)AuthorLines
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-03turn pointer_structural_match into a hard errorRalf Jung-0/+5
2024-05-03remove IndirectStructuralMatch lint, emit the usual hard error insteadRalf Jung-0/+5
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
2024-04-23Support Result<T, E> across FFI when niche optimization can be usedArvind Mukund-1/+47
2024-04-23Rollup merge of #124218 - Xiretza:subsubdiagnostics, r=davidtwcoLeón Orell Valerian Liehr-18/+20
2024-04-23Rollup merge of #123050 - RalfJung:panic_str, r=m-ou-seMatthias Krüger-1/+1
2024-04-23Auto merge of #124277 - matthiaskrgr:rollup-zdb93i4, r=matthiaskrgrbors-31/+75
2024-04-23Rollup merge of #123680 - compiler-errors:gen-kw, r=NadrierilMatthias Krüger-31/+75
2024-04-23Auto merge of #123992 - compiler-errors:no-has-typeck-results, r=jackh726bors-1/+1
2024-04-22Stabilize generic `NonZero`.Markus Reiter-1/+0
2024-04-22Deny gen keyword in edition_2024_compat lintsMichael Goulet-31/+75