about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/build/matches/simplify.rs
AgeCommit message (Expand)AuthorLines
2023-11-29Add `never_patterns` feature gateNadrieril-0/+6
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-10-27Abstract over `PatRange` boundary valueNadrieril-40/+4
2023-10-16Address review commentsMatthew Jasper-14/+4
2023-10-16Fix inline const pattern unsafety checking in THIRMatthew Jasper-4/+20
2023-10-14Propagate pattern errors via a new `PatKind::Error` variantNadrieril-1/+1
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-2/+2
2022-12-19Revert "Auto merge of #103880 - b-naber:field-ty-mir, r=lcnr"Rémy Rakic-3/+3
2022-11-23properly handle enum field projectionsb-naber-6/+4
2022-11-23use non-ascribed type as field type in mirb-naber-1/+3
2022-11-23Auto merge of #103947 - camsteffen:place-clones, r=cjgillotbors-7/+6
2022-11-20Factor out conservative_is_privately_uninhabitedCameron Steffen-3/+3
2022-11-17Remove more PlaceBuilder clonesCameron Steffen-3/+2
2022-11-17Replace try_upvars_resolved with try_to_placeCameron Steffen-4/+4
2022-10-22Introduce InhabitedPredicateCameron Steffen-8/+4
2022-09-16Only generate `OpaqueCast` for opaque typesOli Scherer-4/+4
2022-09-16Merge two arguments into oneOli Scherer-9/+6
2022-09-10Auto merge of #100968 - cjgillot:mir-upvar-vec, r=wesleywiserbors-4/+4
2022-09-02Box `PatKind::Range`.Nicholas Nethercote-1/+1
2022-09-02Clean up THIR patterns.Nicholas Nethercote-7/+7
2022-08-23Only compute captures once when building MIR.Camille GILLOT-4/+4
2022-07-20Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, r=estebank"Oli Scherer-6/+9
2022-07-15Pass one argument instead of fetching two fields of it at every call siteOli Scherer-8/+4
2022-07-15Add some tracing instrumentationOli Scherer-1/+2
2022-06-16simplify_match_pair: avoid the second comparison if possible.Nicholas Nethercote-9/+12
2022-05-21correctly deal with user type ascriptions in patlcnr-3/+2
2022-05-16use GlobalId in eval_to_valtree query and introduce query for valtree_to_cons...b-naber-3/+1
2022-03-11Improve `AdtDef` interning.Nicholas Nethercote-2/+2
2022-02-15Overhaul `Const`.Nicholas Nethercote-2/+4
2021-09-09Ignore automatically derived impls of `Clone` and `Debug` in dead code analysisFabian Wolff-4/+9
2021-08-14Only compute place if upvars can be resolvedRoxane-15/+23
2021-05-22Move THIR structure definitions to `rustc_middle`LeSeulArtichaut-2/+2
2021-03-14Only borrow place for matching under specific conditionsRoxane-6/+3
2021-03-14Use the correct FakeReadCauseRoxane-3/+2
2021-03-14Delay use of Place in favor of PlaceBuilderRoxane-11/+17
2021-03-09Pull `thir::Cx` out of the MIR `Builder`LeSeulArtichaut-4/+4
2021-01-28Rollup merge of #79951 - LeSeulArtichaut:ty-ir, r=nikomatsakisYuki Okushi-3/+2
2021-01-18Use ty::{IntTy,UintTy,FloatTy} in rustcLeSeulArtichaut-3/+2
2021-01-18Fix typo in simplify.rsIkko Ashimine-1/+1
2020-11-05Auto merge of #78638 - vn-ki:bindigs-after-at-issue-69971, r=oli-obkbors-0/+44
2020-11-04`u128` truncation and sign extension are not just interpreter relatedoli-3/+2
2020-11-03review commentsVishnunarayan K I-10/+10
2020-11-03preserve bindings order for SomeVishnunarayan K I-5/+28
2020-11-02new fix method and update testsVishnunarayan K I-15/+23
2020-11-02reverse binding order in matches ...Vishnunarayan K I-1/+14
2020-10-14documentation fixDing Xiang Fei-2/+3
2020-09-04Change ty.kind to a methodLeSeulArtichaut-1/+1
2020-08-30mv compiler to compiler/mark-0/+258