about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir
AgeCommit message (Expand)AuthorLines
2022-06-29Some tracing cleanupsOli Scherer-2/+3
2022-06-25Rollup merge of #98429 - b-naber:use-correct-substs-discriminant-cast, r=lcnrMatthias Krüger-92/+94
2022-06-24fmtb-naber-8/+6
2022-06-24address reviewb-naber-14/+14
2022-06-24small refactorb-naber-95/+96
2022-06-24use true recursionouz-a-14/+19
2022-06-24use correct substs in enum discriminant hackb-naber-1/+4
2022-06-23Remove dead code.Camille GILLOT-22/+1
2022-06-19Be more hygenic with spansMichael Goulet-6/+7
2022-06-19Use `Span::eq_ctxt` method instead of `.ctxt() == .ctxt()`Michael Goulet-4/+4
2022-06-19Only omit trailing comma if block doesn't come from macro expansionMichael Goulet-3/+14
2022-06-17expand inner `or` patternouz-a-1/+11
2022-06-16compare_const_vals: add a special case for certain ranges.Nicholas Nethercote-4/+19
2022-06-16compare_const_vals: Use infallible evaluation.Nicholas Nethercote-27/+23
2022-06-16Remove `ty` arg from `compare_const_vals`.Nicholas Nethercote-11/+4
2022-06-16Remove `from_bool` closure.Nicholas Nethercote-4/+2
2022-06-16Inline and remove `fallback` closure.Nicholas Nethercote-3/+1
2022-06-16Remove one use of `compare_const_vals`.Nicholas Nethercote-15/+2
2022-06-16Assert type equality of `a` and `b` in `compare_const_vals`.Nicholas Nethercote-1/+3
2022-06-16Remove dead code from `compare_const_vals`.Nicholas Nethercote-11/+0
2022-06-15Rollup merge of #98110 - cjgillot:closure-brace, r=Aaron1011Yuki Okushi-1/+1
2022-06-14address reviewb-naber-71/+1
2022-06-14address reviewb-naber-1/+1
2022-06-14fix clippy test failuresb-naber-1/+1
2022-06-14implement valtrees as the type-system representation for constant valuesb-naber-37/+48
2022-06-14Rename the `ConstS::val` field as `kind`.Nicholas Nethercote-2/+2
2022-06-12Make `ExprKind::Closure` a struct variant.Camille GILLOT-1/+1
2022-06-09thir: wrap hir id of vars into local var idDing Xiang Fei-5/+8
2022-06-07Rollup merge of #97325 - tmiasko:capture-enum-field, r=arora-amanDylan DPC-8/+6
2022-05-28Auto merge of #97383 - dingxiangfei2009:restore-region-scope-tree-query, r=di...bors-1/+1
2022-05-25try to cache region_scope_tree as a queryDing Xiang Fei-1/+1
2022-05-24give correct error message on structural match violationb-naber-9/+9
2022-05-23Fix precise field capture of univariant enumsTomasz Miąsko-8/+6
2022-05-22Do leak check after function ptr coercionJack Huey-0/+2
2022-05-22factor out the rvalue lifetime ruleDing Xiang Fei-10/+24
2022-05-21Auto merge of #96515 - lcnr:user-types-in-pat, r=nikomatsakisbors-22/+29
2022-05-21correctly deal with user type ascriptions in patlcnr-22/+29
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-46/+46
2022-05-18Auto merge of #97019 - b-naber:transition-to-valtrees-pt1, r=oli-obkbors-59/+103
2022-05-18Auto merge of #96863 - SparrowLii:let, r=michaelwoeristerbors-8/+8
2022-05-16use GlobalId in eval_to_valtree query and introduce query for valtree_to_cons...b-naber-59/+103
2022-05-09use hir::Let in hir::GuardSparrowLii-8/+8
2022-05-07Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errorsbors-17/+34
2022-05-06`mirror_expr` cleanuplcnr-21/+16
2022-05-02fix most compiler/ doctestsElliot Roberts-17/+34
2022-05-02rustc: Panic by default in `DefIdTree::parent`Vadim Petrochenkov-2/+2
2022-04-16Rollup merge of #96023 - matthiaskrgr:clippyper1304, r=lcnrDylan DPC-1/+1
2022-04-14Reimplement lowering of sym operands for asm! so that it also works with glob...Amanieu d'Antras-85/+46
2022-04-13couple of clippy::perf fixesMatthias Krüger-1/+1
2022-04-13Auto merge of #94255 - b-naber:use-mir-constant-in-thir, r=oli-obkbors-16/+21