summary refs log tree commit diff
path: root/compiler/rustc_middle/src
AgeCommit message (Expand)AuthorLines
2022-06-14address reviewb-naber-32/+9
2022-06-14address reviewb-naber-12/+17
2022-06-14fix clippy test failuresb-naber-0/+8
2022-06-14implement valtrees as the type-system representation for constant valuesb-naber-260/+600
2022-06-14Rename rustc_serialize::opaque::Encoder as MemEncoder.Nicholas Nethercote-14/+14
2022-06-14Rename the `ConstS::val` field as `kind`.Nicholas Nethercote-63/+66
2022-06-13Rollup merge of #98043 - TaKO8Ki:remove-unnecessary-to-string, r=davidtwcoMatthias Krüger-3/+3
2022-06-13Rollup merge of #97709 - compiler-errors:normalize-const-param-ty, r=oli-obkMatthias Krüger-4/+9
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-3/+3
2022-06-11Try out `yeet` in the MIR interpreterScott McMurray-5/+6
2022-06-11Address commentsMichael Goulet-17/+24
2022-06-11Make is_suggestable work on all TypeFoldableMichael Goulet-14/+47
2022-06-11Handle empty where-clause betterMichael Goulet-9/+4
2022-06-11Make Ty::is_suggestable use a visitorMichael Goulet-69/+69
2022-06-12Make `ExprKind::Closure` a struct variant.Camille GILLOT-6/+6
2022-06-11Auto merge of #95880 - cjgillot:def-ident-span, r=petrochenkovbors-19/+34
2022-06-11Rollup merge of #97913 - dingxiangfei2009:wrap-into-local-var-id, r=nikomatsakisDylan DPC-3/+17
2022-06-11Auto merge of #97980 - Dylan-DPC:rollup-l8exe4b, r=Dylan-DPCbors-55/+54
2022-06-11Rollup merge of #97703 - lcnr:post-89862, r=estebankDylan DPC-55/+54
2022-06-11Auto merge of #97905 - nnethercote:revert-infallible-encoder, r=bjorn3bors-14/+14
2022-06-10Introduce opt_ident.Camille GILLOT-13/+12
2022-06-10Call def_span inside span_if_local.Camille GILLOT-2/+6
2022-06-10Implement def_ident_span in rustc_middle.Camille GILLOT-17/+29
2022-06-10don't always cache bound ltslcnr-9/+18
2022-06-10replace bound vars: make caching explicitlcnr-9/+6
2022-06-10`BoundVarReplacer` remove `Option`lcnr-45/+36
2022-06-10Revert b983e42936feab29f6333e9835913afc6b4a394e.Nicholas Nethercote-14/+14
2022-06-09thir: wrap hir id of vars into local var idDing Xiang Fei-3/+17
2022-06-09Auto merge of #97740 - RalfJung:ctfe-cycle-spans, r=lcnrbors-3/+16
2022-06-08Auto merge of #94732 - nnethercote:infallible-encoder, r=bjorn3bors-71/+59
2022-06-08note that methods should only be used for diagslcnr-0/+4
2022-06-08dedup diagnostics default params handlinglcnr-54/+49
2022-06-08publicly export `ty::subst` in `ty`lcnr-1/+1
2022-06-08Auto merge of #97860 - Dylan-DPC:rollup-t3vxos8, r=Dylan-DPCbors-2/+27
2022-06-08Rollup merge of #97597 - tmiasko:simplify-locals-side-effects, r=RalfJung,Jak...Dylan DPC-2/+27
2022-06-08Auto merge of #97447 - nnethercote:improve-folding, r=jackh726bors-285/+249
2022-06-08Rename `rustc_serialize::opaque::Encoder` as `MemEncoder`.Nicholas Nethercote-14/+14
2022-06-08Folding revamp.Nicholas Nethercote-272/+226
2022-06-08Add `try_fold_uenevaluted`.Nicholas Nethercote-10/+20
2022-06-08Add `TypeVisitor::visit_mir_const`.Nicholas Nethercote-0/+8
2022-06-08Remove `EarlyBinder::{try_fold_with,visit_with}`.Nicholas Nethercote-8/+0
2022-06-08Use `super_visit_with` in a couple of `visit_binder` methods.Nicholas Nethercote-1/+1
2022-06-08Rename `TypeVisitor::visit_unevaluated_const`.Nicholas Nethercote-4/+4
2022-06-08Use delayed error handling for `Encodable` and `Encoder` infallible.Nicholas Nethercote-58/+46
2022-06-07Preserve unused pointer to address castsTomasz Miąsko-2/+27
2022-06-07Rollup merge of #97325 - tmiasko:capture-enum-field, r=arora-amanDylan DPC-2/+4
2022-06-07Auto merge of #97825 - Dylan-DPC:rollup-ya51k1k, r=Dylan-DPCbors-9/+70
2022-06-07Rollup merge of #97301 - semicoleon:unstable-reexport, r=petrochenkovDylan DPC-8/+69
2022-06-07Rollup merge of #97058 - bjorn3:multi_artifact_work_products, r=nagisaDylan DPC-1/+1
2022-06-07Auto merge of #97512 - scottmcm:add-coldcc, r=nagisa,lcnrbors-1/+2