about summary refs log tree commit diff
path: root/src/librustc_mir/util
AgeCommit message (Expand)AuthorLines
2019-01-01Add `unwrap_usize` to `LazyConst`, tooOliver Scherer-1/+1
2019-01-01Move the `Unevaluated` constant arm upwards in the type structureOliver Scherer-7/+18
2018-12-30Add user type annotations to MIR dump.David Wood-0/+14
2018-12-25Remove licensesMark Rousskov-101/+0
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-3/+3
2018-12-06Use a function to access the Hir map to be able to turn it into a query laterJohn Kåre Alsaker-5/+5
2018-12-06Rollup merge of #56500 - ljedrz:cleanup_rest_of_const_lifetimes, r=zackmdavisPietro Albini-1/+1
2018-12-04cleanup: remove static lifetimes from constsljedrz-1/+1
2018-11-30Refer to the second borrow as the "second borrow".Daan de Graaf-1/+5
2018-11-22rustc_target: separate out an individual Align from AbiAndPrefAlign.Eduard-Mihai Burtescu-1/+1
2018-11-12Use type safe `VariantIdx` instead of `usize` everywhereOliver Scherer-4/+5
2018-11-02Auto merge of #55316 - RalfJung:retagging, r=oli-obkbors-1/+1
2018-10-31use String::from() instead of format!() macro to construct Strings.Matthias Krüger-1/+1
2018-10-29Emit Retag statements, kill Validate statementsRalf Jung-1/+1
2018-10-27Refactor and add `PlaceContext::AscribeUserTy`.David Wood-31/+22
2018-10-26Checkpoint: Added abstraction over collection of projections into user type.Felix S. Klock II-1/+1
2018-10-26Remove redundant cloneShotaro Yamada-2/+2
2018-10-21Use new region infer errors for explaining borrowsMatthew Jasper-0/+25
2018-10-20Give an error number for "borrowed data escapes outside of closure"Matthew Jasper-0/+18
2018-10-20Auto merge of #55014 - ljedrz:lazyboye_unwraps, r=matthewjasperbors-1/+1
2018-10-19Prefer `Default::default` over `FxHash*::default` in struct constructorsOliver Scherer-1/+1
2018-10-19Deprecate the `FxHashMap()` and `FxHashSet()` constructor function hackOliver Scherer-1/+1
2018-10-19Prefer unwrap_or_else to unwrap_or in case of function calls/allocationsljedrz-1/+1
2018-10-18Extend closure special-casing for generators.David Wood-2/+4
2018-10-03Record whether a Call in MIR corresponds to a call in HIRMatthew Jasper-2/+4
2018-09-26Auto merge of #54526 - nnethercote:shrink-StatementKind, r=nagisabors-2/+2
2018-09-25Change the diagnostic number from 714 to 716.Felix S. Klock II-1/+1
2018-09-25add "temporary value dropped while borrowed" errorMikhail Modin-0/+16
2018-09-24Better messages for errors from Shallow borrowsMatthew Jasper-0/+23
2018-09-24Shrink StatementKind::Assign.Nicholas Nethercote-2/+2
2018-09-23Auto merge of #54310 - pnkfelix:issue-52059-report-borrow-drop-conflict, r=ni...bors-0/+16
2018-09-18Fine tune dianostics for when a borrow conflicts with a destructor that needs...Felix S. Klock II-0/+16
2018-09-18Merge indexed_set.rs into bitvec.rs, and rename it bit_set.rs.Nicholas Nethercote-6/+6
2018-09-12Merge branch 'master' into kenta7777#53719kenta7777-2/+7
2018-09-10propagate user-ascribes types down onto resulting bindingsNiko Matsakis-2/+7
2018-09-10renamed mk_nil to mk_unitkenta7777-2/+2
2018-09-08Auto merge of #53909 - mikhail-m1:53643, r=nikomatsakisbors-1/+2
2018-09-07make field always private, add `From` implsNiko Matsakis-2/+0
2018-09-06Skip a shared borrow of a immutable local variablesMikhail Modin-1/+2
2018-08-27kill dead code from `util/liveness`Niko Matsakis-166/+8
2018-08-27liveness.rs: rustfmtNiko Matsakis-6/+7
2018-08-27remove the liveness mode and simplify `categorize`Niko Matsakis-18/+10
2018-08-24Auto merge of #53225 - nikomatsakis:nll-type-annot, r=pnkfelixbors-1/+10
2018-08-24include ADT user-ty in outputNiko Matsakis-0/+5
2018-08-24add a `user_ty` annotation to `Constant`Niko Matsakis-1/+5
2018-08-24Rollup merge of #53563 - matthiaskrgr:String, r=varkorkennytm-1/+1
2018-08-23Auto merge of #52602 - scottmcm:tryblock-expr, r=nikomatsakisbors-2/+2
2018-08-23use String::new() instead of String::from(""), "".to_string(), "".to_owned() ...Matthias Krüger-1/+1
2018-08-23Auto merge of #53520 - nnethercote:merge-IdxSet-IdxSetBuf, r=nikomatsakisbors-2/+2
2018-08-22Auto merge of #53581 - varkor:tyvariants-rename, r=eddybbors-10/+10