about summary refs log tree commit diff
path: root/src/librustc_mir
AgeCommit message (Expand)AuthorLines
2020-01-10Add promoted_operand closure to reuse code across differentSantiago Pastorino-54/+20
2020-01-10Promote `Argument`s to constants instead of staticsSantiago Pastorino-17/+19
2020-01-10Promote `Repeat`s to constants instead of staticsSantiago Pastorino-4/+19
2020-01-10Promote `Ref`s to constants instead of staticSantiago Pastorino-80/+219
2020-01-10Revert const_eval call to use const_eval_raw to avoid const validation cyclesSantiago Pastorino-1/+6
2020-01-10nix syntax::errors & prefer rustc_errors over errorsMazdak Farrokhzad-2/+1
2020-01-10Introduce `#![feature(half_open_range_patterns)]`.Mazdak Farrokhzad-68/+94
2020-01-10Rollup merge of #67922 - Centril:lowering-cleanup, r=petrochenkovMazdak Farrokhzad-1/+1
2020-01-10Rollup merge of #67501 - oli-obk:test-slice-patterns, r=RalfJungMazdak Farrokhzad-152/+157
2020-01-10Rollup merge of #67967 - JohnTitor:fix-ice-0107, r=matthewjasperYuki Okushi-1/+7
2020-01-09Switch assertion order to be more helpful to ppl that encounter themOliver Scherer-1/+1
2020-01-09Rename `Unsized` to `Meta`Oliver Scherer-22/+22
2020-01-09Update src/librustc_mir/interpret/place.rsOliver Scherer-0/+1
2020-01-09{rustc::util -> rustc_data_structures}::capturesMazdak Farrokhzad-1/+1
2020-01-09Change -Z time event naming scheme and make them generic activitiesJohn Kåre Alsaker-14/+8
2020-01-09Rollup merge of #67979 - Centril:hir-cleanup, r=ZoxcMazdak Farrokhzad-8/+18
2020-01-08normalize rustc::hir::intravisit importsMazdak Farrokhzad-4/+4
2020-01-08intravisit: abstract over HIR MapMazdak Farrokhzad-4/+14
2020-01-09Delay bug to prevent ICE in MIR borrowckYuki Okushi-1/+7
2020-01-09Rollup merge of #67781 - cjgillot:passes-const, r=oli-obkYuki Okushi-7/+164
2020-01-08Move `is_min_const_fn` query to librustc_mir.Camille GILLOT-79/+80
2020-01-08Move constness.rs to librustc_mir.Camille GILLOT-0/+156
2020-01-08- remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!}Mazdak Farrokhzad-36/+38
2020-01-07Move free_region_map to rustc::ty.Camille GILLOT-1/+1
2020-01-07Move structural_match to rustc::traits.Camille GILLOT-6/+6
2020-01-07Make traits::util::* free functions.Camille GILLOT-1/+3
2020-01-07Actually use the poison valueOliver Scherer-7/+3
2020-01-07Add more documentationOliver Scherer-1/+8
2020-01-07Add warning label to `try_as_mplace`Oliver Scherer-0/+4
2020-01-07Remove a bunch of dead functions and make some functions privateOliver Scherer-37/+3
2020-01-07Ensure we don't accidentally turn non-zsts into zstsOliver Scherer-0/+1
2020-01-07Poison any `MemPlace` created from a zst Operand (or otherwise via `MPlaceTy:...Oliver Scherer-43/+102
2020-01-07Move `to_const_value` from `MPlaceTy` to its only use siteOliver Scherer-18/+14
2020-01-07Fix an ICE happening due code assuming that `MPlaceTy` cannot have integer ad...Oliver Scherer-19/+25
2020-01-07Remove a ZST special casing that is not necessary anymoreOliver Scherer-6/+2
2020-01-07Automatically prefer integer addresses for zst MPlaceOliver Scherer-53/+26
2020-01-07Rollup merge of #67898 - matthewjasper:newtype-index-hygiene, r=CentrilYuki Okushi-5/+5
2020-01-07Rollup merge of #67671 - estebank:type-impl-trait, r=davidtwcoYuki Okushi-3/+8
2020-01-06Account for `type X = impl Trait;` in lifetime suggestionEsteban Küber-3/+8
2020-01-06Improve hygiene of `newtype_index`Matthew Jasper-5/+5
2020-01-06Auto merge of #67886 - Centril:rustc_hir_canon_imports, r=nagisabors-119/+122
2020-01-05Use Instance.ty_env instead of Instance.monomorphic_ty in interpreterAaron Hill-1/+1
2020-01-05Rename Instance.ty to Instance.monomorphic_tyAaron Hill-3/+4
2020-01-05Fix ICE involving calling `Instance.ty` during const evaluationAaron Hill-2/+2
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-117/+120
2020-01-05simplify reexports in rustc::hirMazdak Farrokhzad-2/+2
2020-01-05Use self profile infrastructure for -Z time and -Z time-passesJohn Kåre Alsaker-8/+4
2020-01-04Auto merge of #67803 - Centril:librustc_hir, r=Zoxcbors-18/+15
2020-01-04Rollup merge of #67137 - anp:tracked-panic-internals, r=eddybDylan DPC-39/+22
2020-01-04Restrict visibility of location_triple_for_span.Adam Perry-1/+1