summary refs log tree commit diff
path: root/src/librustc_mir/build
AgeCommit message (Expand)AuthorLines
2018-10-29Add the actual chain of projections to `UserTypeProjection`.Felix S. Klock II-14/+21
2018-10-29Checkpoint: Added abstraction over collection of projections into user type.Felix S. Klock II-36/+45
2018-10-29Added `mir::UserTypeProjection`, a stub for a structure that projects *into* ...Felix S. Klock II-7/+7
2018-10-29Refactoring: added `PatternTypeAnnotation` wrapper around `UserTypeAnnotation...Felix S. Klock II-8/+8
2018-10-29restrict scope of methods that are only called within mod tree of parent.Felix S. Klock II-2/+2
2018-10-29Shrink `Statement`.Nicholas Nethercote-4/+4
2018-10-29Remove redundant cloneShotaro Yamada-5/+5
2018-10-25Auto merge of #54490 - wesleywiser:rewrite_it_in_mir, r=oli-obkbors-0/+4
2018-10-20Auto merge of #55114 - oli-obk:fx#map, r=nikomatsakisbors-3/+3
2018-10-19skip user-type annotations if they don't have regionsNiko Matsakis-22/+26
2018-10-19Prefer `Default::default` over `FxHash*::default` in struct constructorsOliver Scherer-2/+2
2018-10-19Deprecate the `FxHashMap()` and `FxHashSet()` constructor function hackOliver Scherer-3/+3
2018-10-15introduce a `UserTypeAnnotation` enumNiko Matsakis-5/+5
2018-10-10Use the span of the user type for `AscribeUserType`Matthew Jasper-20/+21
2018-10-08add pattern type ascriptions for tuple/brace structs/enumsNiko Matsakis-0/+8
2018-10-05Improve diagnostics for borrow-check errors that result from drops of tempora...Felix S. Klock II-0/+6
2018-10-05Add flag to `mir::LocalDecl` to track whether its a temp from some subexpr a ...Felix S. Klock II-20/+167
2018-10-04Auto merge of #54666 - matthewjasper:mir-function-spans, r=pnkfelixbors-1/+3
2018-10-03Rewrite the `UnconditionalRecursion` lint to use MIRWesley Wiser-0/+4
2018-10-04Auto merge of #54447 - KiChjang:issue-54331, r=nikomatsakisbors-3/+53
2018-10-03Record whether a Call in MIR corresponds to a call in HIRMatthew Jasper-1/+3
2018-10-02Improve implicit self mutability suggestions.David Wood-7/+11
2018-09-29avoid infinite loop in MIR loweringNiko Matsakis-4/+13
2018-09-29Lower type ascriptions to HAIR and MIRKeith Yeung-3/+44
2018-09-26Auto merge of #54526 - nnethercote:shrink-StatementKind, r=nagisabors-3/+5
2018-09-24Add more fake borrows to matchesMatthew Jasper-51/+160
2018-09-24Add "Shallow" borrow kindMatthew Jasper-1/+3
2018-09-24Shrink StatementKind::InlineAsm.Nicholas Nethercote-2/+4
2018-09-24Shrink StatementKind::Assign.Nicholas Nethercote-1/+1
2018-09-23Auto merge of #54262 - matthewjasper:explain-in-typeck, r=nikomatsakisbors-14/+49
2018-09-19Make the span of the MIR return place point to the return typeMatthew Jasper-14/+49
2018-09-18Move comments for fake reads where the causes are definedRemy Rakic-24/+7
2018-09-18Refactor 'ReadForMatch' into 'FakeRead' and add the cause of the fake readRemy Rakic-3/+3
2018-09-18Explain the fake read injection betterRemy Rakic-6/+17
2018-09-18inject fake read in binding pattern with ascriptionRemy Rakic-1/+12
2018-09-18Inject fake read in binding patternRemy Rakic-0/+13
2018-09-18Auto merge of #54286 - nnethercote:BitSet, r=pnkfelixbors-5/+5
2018-09-18Merge indexed_set.rs into bitvec.rs, and rename it bit_set.rs.Nicholas Nethercote-5/+5
2018-09-15Make rustc::middle::region::Scope's fields publicMarshall Bowers-4/+10
2018-09-14Auto merge of #54032 - oli-obk:layout_scalar_ranges, r=eddybbors-2/+2
2018-09-12Merge branch 'master' into kenta7777#53719kenta7777-327/+575
2018-09-12Auto merge of #51159 - pacman82:master, r=oli-obkbors-2/+3
2018-09-12Add ty::Ty to PatternKind::Range;u128 for Const in Constructor::ConstantRangeMarkus Klein-2/+3
2018-09-11renamed is_nil to is_unitkenta7777-1/+1
2018-09-11Revert "renamed is_nil to is_unit"kenta7777-1/+1
2018-09-11Simplify Scope/ScopeData to have less chance of introducing UB or size increasesOliver Schneider-2/+2
2018-09-10add FIXME related to `ref x` bindingsNiko Matsakis-1/+14
2018-09-10propagate user-ascribes types down onto resulting bindingsNiko Matsakis-14/+45
2018-09-10optimize `let x: T = ..` to avoid a temporaryNiko Matsakis-1/+42
2018-09-10generalize `AscribeUserType` to handle sub or super typeNiko Matsakis-0/+1