about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/build
AgeCommit message (Expand)AuthorLines
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
2022-05-23Fix precise field capture of univariant enumsTomasz Miąsko-11/+48
2022-05-22Do leak check after function ptr coercionJack Huey-0/+1
2022-05-22factor out the rvalue lifetime ruleDing Xiang Fei-6/+6
2022-05-21Auto merge of #96515 - lcnr:user-types-in-pat, r=nikomatsakisbors-40/+24
2022-05-21correctly deal with user type ascriptions in patlcnr-40/+24
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-79/+91
2022-05-16use GlobalId in eval_to_valtree query and introduce query for valtree_to_cons...b-naber-71/+69
2022-05-14Auto merge of #96883 - jackh726:early-binder-2, r=oli-obkbors-2/+2
2022-05-13Add bound_type_ofJack Huey-6/+5
2022-05-12Auto merge of #95562 - lcnr:attr-no-encode, r=davidtwcobors-1/+0
2022-05-11Remove `PartialOrd`/`Ord` impl for `PlaceRef`Aaron Hill-2/+4
2022-05-10Introduce EarlyBinderJack Huey-4/+5
2022-05-10only_local: always check for misuselcnr-1/+0
2022-05-09Use `FxIndexSet` to avoid sorting fake borrowsAaron Hill-11/+9
2022-05-07Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errorsbors-29/+34
2022-05-04Generate an intermediate temporary for `Drop` constants.Oli Scherer-30/+100