about summary refs log tree commit diff
path: root/src/librustc_mir
AgeCommit message (Expand)AuthorLines
2017-09-26Auto merge of #44736 - pnkfelix:mir-borrowck4, r=arielb1bors-341/+317
2017-09-25Auto merge of #44809 - arielb1:small-scope, r=eddybbors-3/+5
2017-09-25Remove now dead code.Felix S. Klock II-299/+1
2017-09-25Make mir-borrowck more closely match (draft) NLL RFC.Felix S. Klock II-81/+339
2017-09-25More fine-grained delineation for mir-borrowck errors.Felix S. Klock II-4/+20
2017-09-25Auto merge of #44700 - arielb1:mir-effectck, r=nikomatsakisbors-60/+751
2017-09-24move Scope behind an enumAriel Ben-Yehuda-3/+5
2017-09-24Rollup merge of #44795 - KiChjang:mir-err-notes, r=arielb1Guillaume Gomez-11/+19
2017-09-24remove test code accidentally checked inAriel Ben-Yehuda-10/+0
2017-09-24move unsafety checking to MIRAriel Ben-Yehuda-24/+577
2017-09-24add lint levels to VisibilityScopeAriel Ben-Yehuda-48/+196
2017-09-23Add span labels for E0505 for MIR borrowckKeith Yeung-7/+12
2017-09-23Auto merge of #44747 - Zoxc:gen-switch-unreachable, r=eddybbors-10/+11
2017-09-23Add span label to E0381 for MIR borrowckKeith Yeung-4/+7
2017-09-21Make the fallback of generator resumption be unreachable instead of using returnJohn Kåre Alsaker-10/+11
2017-09-21mir-borrowck: Add FIXME comment to report name of field instead of index at a...Basile Desloges-1/+1
2017-09-21mir-borrowck: Add span labels to `report_use_while_mutably_borrowed()`Basile Desloges-3/+8
2017-09-21mir-borrowck: Add borrow data parameter to `report_use_while_mutably_borrowed()`Basile Desloges-2/+3
2017-09-21mir-borrowck: Add method to MIR borrowck context to retrieve the span of a gi...Basile Desloges-0/+7
2017-09-21Auto merge of #44551 - scalexm:copy-clone-closures, r=arielb1bors-6/+17
2017-09-20Implement `Copy`/`Clone` for closuresscalexm-6/+17
2017-09-20address review commentsAriel Ben-Yehuda-1/+5
2017-09-17Remove rustc_bitflags; use the bitflags crateTamir Duberstein-14/+13
2017-09-16Rollup merge of #44560 - qmx:import-TyCtxt, r=eddybAlex Crichton-26/+26
2017-09-16Auto merge of #43017 - durka:stabilize-const-invocation, r=eddybbors-24/+40
2017-09-16change #![feature(const_fn)] to specific gatesAlex Burka-2/+2
2017-09-14bring Ty into scopeDouglas Campos-11/+11
2017-09-14bring TyCtxt into scopeDouglas Campos-15/+15
2017-09-13Fix a bug where StorageIgnored had an incorrect buffer lengthJohn Kåre Alsaker-2/+2
2017-09-13Fix nits and refactor creation of StorageLive blocksJohn Kåre Alsaker-75/+52
2017-09-13Make sure we aren't using dead localsJohn Kåre Alsaker-5/+6
2017-09-13Analyse storage liveness and preserve it during generator transformationJohn Kåre Alsaker-169/+332
2017-09-13honor #[rustc_const_unstable] attributesAlex Burka-22/+38
2017-09-13Fix issue #43481: emit the EndRegion *before* StorageDeads for a scope.Felix S. Klock II-4/+6
2017-09-13Auto merge of #44456 - eddyb:stable-drop-const, r=nikomatsakisbors-155/+17
2017-09-12Auto merge of #44275 - eddyb:deferred-ctfe, r=nikomatsakisbors-119/+222
2017-09-11rustc: use ConstVal::Unevaluated instead of mir::Literal::Item.Eduard-Mihai Burtescu-6/+11
2017-09-11rustc: use ty::Const for the length of TyArray.Eduard-Mihai Burtescu-3/+7
2017-09-11rustc: replace usize with u64 and ConstUsize.Eduard-Mihai Burtescu-13/+14
2017-09-11rustc: introduce ty::Const { ConstVal, Ty }.Eduard-Mihai Burtescu-69/+142
2017-09-11rustc: intern ConstVal's in TyCtxt.Eduard-Mihai Burtescu-63/+83
2017-09-11Auto merge of #44383 - qmx:gh/40473/no-inline-trait-method, r=nikomatsakisbors-6/+8
2017-09-10Auto merge of #44316 - eddyb:no-local-var-def-id, r=michaelwoeristerbors-19/+13
2017-09-10Use rvalue promotion to 'static instead of static items.Eduard-Mihai Burtescu-1/+0
2017-09-09Stabilize drop_types_in_const.Eduard-Mihai Burtescu-155/+17
2017-09-09Auto merge of #44212 - eddyb:drop-const, r=nikomatsakisbors-5/+7
2017-09-08Use NodeId/HirId instead of DefId for local variables.Eduard-Mihai Burtescu-19/+13
2017-09-08simplifyDouglas Campos-9/+1
2017-09-08Auto merge of #44142 - alexcrichton:dllimport-query, r=nikomatsakisbors-12/+12
2017-09-07Auto merge of #44249 - pnkfelix:debugflag-emit-end-regions, r=arielb1bors-16/+23