summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/build
AgeCommit message (Expand)AuthorLines
2022-07-30Use LocalDefId for closures moreCameron Steffen-13/+9
2022-07-21break out scopes when let-else fails to matchDing Xiang Fei-42/+49
2022-07-20Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, r=estebank"Oli Scherer-122/+145
2022-07-15Allow destructuring opaque types, since the patterns constrain the opaque typesOli Scherer-6/+33
2022-07-15Some tracing helpersOli Scherer-0/+3
2022-07-15Reuse a helper method instead of manually rolling itOli Scherer-3/+1
2022-07-15Remove early return that would likely have caused miscompilations if it ever ...Oli Scherer-13/+3
2022-07-15Pass one argument instead of fetching two fields of it at every call siteOli Scherer-100/+60
2022-07-15Add some tracing instrumentationOli Scherer-27/+24
2022-07-15Introduce opaque type to hidden type projectionOli Scherer-0/+2
2022-07-14Rollup merge of #98705 - WaffleLapkin:closure_binder, r=cjgillotDylan DPC-3/+4
2022-07-12Add an indirection for closures in `hir::ExprKind`Maybe Waffle-3/+4
2022-07-11lower let-else in MIR insteadDing Xiang Fei-13/+97
2022-07-09tweak names and output and blessRalf Jung-1/+1
2022-07-09review feedbackRalf Jung-1/+1
2022-07-09don't allow ZST in ScalarIntRalf Jung-1/+16
2022-07-06Update TypeVisitor pathsAlan Egerton-1/+1
2022-07-05Auto merge of #96862 - oli-obk:enum_cast_mir, r=RalfJungbors-4/+25
2022-07-01Factor out hir::Node::BindingCameron Steffen-1/+1
2022-06-30Change enum->int casts to not go through MIR casts.Oli Scherer-4/+25
2022-06-28Do not use a suggestion to change a binding's name to a typeMichael Goulet-1/+5
2022-06-20Auto merge of #97931 - xldenis:fix-if-let-source-scopes, r=nagisabors-12/+51
2022-06-16Remove `ty` arg from `compare_const_vals`.Nicholas Nethercote-10/+4
2022-06-16simplify_match_pair: avoid the second comparison if possible.Nicholas Nethercote-9/+12
2022-06-16sort_candidates: avoid the second comparison if possible.Nicholas Nethercote-25/+19
2022-06-16const_range_contains: avoid the second comparison if possible.Nicholas Nethercote-8/+11
2022-06-15Rollup merge of #98110 - cjgillot:closure-brace, r=Aaron1011Yuki Okushi-2/+2
2022-06-14Only create scopes for if letXavier Denis-4/+20
2022-06-14rebaseb-naber-1/+2
2022-06-14address reviewb-naber-1/+58
2022-06-14address reviewb-naber-56/+2
2022-06-14implement valtrees as the type-system representation for constant valuesb-naber-56/+121
2022-06-14Rename the `ConstS::val` field as `kind`.Nicholas Nethercote-2/+2
2022-06-12Make `ExprKind::Closure` a struct variant.Camille GILLOT-2/+2
2022-06-10Actually fixXavier Denis-19/+23
2022-06-10Revert "More minimal changes"Xavier Denis-14/+27
2022-06-10More minimal changesXavier Denis-27/+14
2022-06-10Fix `SourceScope` for `if let` bindings.Xavier Denis-9/+28
2022-06-09thir: wrap hir id of vars into local var idDing Xiang Fei-30/+28
2022-06-07Rollup merge of #97325 - tmiasko:capture-enum-field, r=arora-amanDylan DPC-11/+48
2022-06-03Replace `&Vec<_>`s with `&[_]`sMaybe Waffle-4/+4
2022-06-02add cast kind of from_exposed_addr (int-to-ptr casts)Ralf Jung-0/+3
2022-06-01rename PointerAddress → PointerExposeAddressRalf Jung-1/+1
2022-05-31Add a pointer to address cast kindTomasz Miąsko-3/+12
2022-05-28Auto merge of #97383 - dingxiangfei2009:restore-region-scope-tree-query, r=di...bors-6/+6
2022-05-26clippy::complexity fixesMatthias Krüger-9/+5
2022-05-25Rollup merge of #95953 - JakobDegen:repeat-leak, r=oli-obkDylan DPC-5/+46
2022-05-25try to cache region_scope_tree as a queryDing Xiang Fei-6/+6
2022-05-24Modify MIR building to drop `foo` in `[foo; 0]`Jakob Degen-5/+46
2022-05-23Refactor call terminator to always hold a destination placeJakob Degen-4/+7