about summary refs log tree commit diff
path: root/src/librustc/mir
AgeCommit message (Expand)AuthorLines
2020-02-15Change const eval to return `ConstValue`, instead of `Const` as the type insi...Ben Lewis-2/+34
2020-02-14Prepare to use borrowck to resolve opaque typesMatthew Jasper-1/+7
2020-02-13Add `Place` getter to `Operand`Dylan MacKenzie-0/+9
2020-02-13rename PanicInfo -> AssertKindRalf Jung-10/+10
2020-02-13improve comments:Ralf Jung-0/+1
2020-02-13small cleanup in ConstEvalErr::struct_genericRalf Jung-31/+40
2020-02-13move PanicInfo to mir moduleRalf Jung-63/+59
2020-02-13remove PanicInfo::Panic variant that MIR does not use or needRalf Jung-12/+5
2020-02-13remove Panic variant from InterpErrorRalf Jung-21/+15
2020-02-12Fix outdated doc comment.jumbatm-4/+3
2020-02-11Run RustFmtjumbatm-9/+8
2020-02-11Invert control in struct_lint_level.jumbatm-31/+50
2020-02-02Add resume arg place to `Yield` MIR terminatorJonas Schievink-3/+14
2020-02-01Move builtin attribute logic to new rustc_attr crate.Mazdak Farrokhzad-1/+1
2020-01-29Auto merge of #68512 - spastorino:local-is-copy, r=oli-obkbors-11/+11
2020-01-28Fix a few spelling mistakesgorilskij-2/+2
2020-01-28Remove unneeded & on match patternSantiago Pastorino-2/+2
2020-01-28Place::ty_from takes local by valueSantiago Pastorino-3/+3
2020-01-28Local field on PlaceRef and RootPlace is not a reference anymoreSantiago Pastorino-7/+7
2020-01-27make matches exhaustiveMatthias Krüger-6/+14
2020-01-27don't clone types that are copy, round two.Matthias Krüger-6/+6
2020-01-25Auto merge of #68516 - oli-obk:spaces, r=eddybbors-3/+9
2020-01-24Render const pointers in MIR more compactlyOliver Scherer-3/+9
2020-01-23Clarify some methods around instance instantiation via comments and clearer n...Michael Woerister-3/+3
2020-01-21Auto merge of #65672 - ecstatic-morse:unified-dataflow-proto, r=pnkfelixbors-0/+25
2020-01-21Rollup merge of #68297 - Aaron1011:fix/new-const-prop-bounds, r=oli-obkYuki Okushi-4/+1
2020-01-18remove rustc_error_codes deps except in rustc_driverMazdak Farrokhzad-2/+0
2020-01-17Rollup merge of #68288 - RalfJung:fmt, r=oli-obkDylan DPC-3/+3
2020-01-16Revert previous attempt at detecting unsatisfiable predicatesAaron Hill-4/+1
2020-01-16let rustfmt undo most of my edits :(Ralf Jung-2/+1
2020-01-16fix rustfmt falloutRalf Jung-4/+5
2020-01-15Rollup merge of #67914 - Aaron1011:fix/const-prop-impossible, r=matthewjasper...Yuki Okushi-1/+4
2020-01-14Add test for `ResultsCursor`Dylan MacKenzie-0/+25
2020-01-14Code review changes and fix rustdoc test.Ben Lewis-5/+5
2020-01-14perf: eagerly convert literals to consts, this avoids creating loads on uneva...Ben Lewis-1/+20
2020-01-13Use TraitQueryMode::Canonical when testing predicates in const propAaron Hill-1/+4
2020-01-12Auto merge of #67901 - matthewjasper:split-mir-build, r=nagisabors-221/+227
2020-01-12Split `rustc_mir::{build, hair, lints}` into their own crateMatthew Jasper-221/+227
2020-01-12Rollup merge of #68045 - Centril:liberate-lints, r=Mark-SimulacrumMazdak Farrokhzad-1/+1
2020-01-11Auto merge of #67000 - spastorino:remove-promoted-from-place, r=oli-obkbors-182/+51
2020-01-11lints: promote levels.rs to lint.rs & extract passes.rsMazdak Farrokhzad-1/+1
2020-01-10Promoteds also need param envs.Oliver Scherer-2/+2
2020-01-10Make Place CopySantiago Pastorino-1/+1
2020-01-10No need to use local.into hereSantiago Pastorino-1/+1
2020-01-10Remove PlaceBase enum and make Place base field be local: LocalSantiago Pastorino-83/+32
2020-01-10Remove Static from PlaceBaseSantiago Pastorino-60/+14
2020-01-10Remove StaticKindSantiago Pastorino-40/+5
2020-01-10Remove StaticKind::PromotedSantiago Pastorino-20/+5
2020-01-10Promote `Ref`s to constants instead of staticSantiago Pastorino-1/+17
2020-01-10nix syntax::errors & prefer rustc_errors over errorsMazdak Farrokhzad-1/+1