summary refs log tree commit diff
path: root/src/librustc_mir/borrow_check/mod.rs
AgeCommit message (Expand)AuthorLines
2019-03-16Make migrate mode work at item level granularityMatthew Jasper-23/+5
2019-02-21Use normal mutable borrows in MIR match loweringMatthew Jasper-1/+3
2019-02-10rustc: doc commentsAlexander Regueiro-15/+15
2019-02-08librustc_mir => 2018Taiki Endo-13/+13
2019-01-26remove `_with_applicability` from suggestion fnsAndy Russell-1/+1
2019-01-21Differentiate between closure and function bodiesOliver Scherer-4/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-22Update migrate warning wording.David Wood-4/+8
2018-12-20Auto merge of #56741 - RalfJung:retag-to-raw, r=oli-obkbors-1/+0
2018-12-20Auto merge of #56649 - davidtwco:issue-46589, r=pnkfelixbors-2/+3
2018-12-18treat ref-to-raw cast like a reborrow: do a special kind of retagRalf Jung-1/+0
2018-12-17Kill borrows from a projection after assignment.David Wood-2/+3
2018-12-13Make determining the discriminant a normal Shallow readMatthew Jasper-5/+4
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-4/+4
2018-12-06Use a function to access the Hir map to be able to turn it into a query laterJohn Kåre Alsaker-3/+3
2018-11-18Only handle ReVar regions in NLL borrowckMatthew Jasper-6/+1
2018-11-18Remove mir::StatementKind::EndRegionMatthew Jasper-4/+0
2018-11-15Auto merge of #55716 - RalfJung:escape-to-raw, r=oli-obkbors-0/+1
2018-11-11Auto merge of #55657 - davidtwco:issue-55651, r=pnkfelixbors-6/+25
2018-11-07no more action on ref or cast, but add new MIR statement for escaping a ptr t...Ralf Jung-0/+1
2018-11-07Ignore never-initialized locals for `unused_mut`.David Wood-11/+9
2018-11-05Improve predecessor detection.David Wood-6/+8
2018-11-03Unions reinitialized after assignment into field.David Wood-6/+23
2018-11-02Auto merge of #55087 - levex:e0669-improve-span, r=nagisabors-1/+1
2018-11-02Auto merge of #55316 - RalfJung:retagging, r=oli-obkbors-2/+2
2018-10-30Rollup merge of #55494 - pnkfelix:issue-55492-borrowck-migrate-must-look-at-p...kennytm-1/+27
2018-10-30borrowck=migrate mode needs to check parent(s) when its given a closure.Felix S. Klock II-1/+27
2018-10-29Don't emit cannot move errors twice in migrate modeMatthew Jasper-6/+8
2018-10-29Emit Retag statements, kill Validate statementsRalf Jung-2/+2
2018-10-19Prefer `Default::default` over `FxHash*::default` in struct constructorsOliver Scherer-4/+4
2018-10-19Deprecate the `FxHashMap()` and `FxHashSet()` constructor function hackOliver Scherer-4/+4
2018-10-18Rollup merge of #55122 - ljedrz:cleanup_mir_borrowck, r=Mark-Simulacrumkennytm-15/+11
2018-10-17Auto merge of #55134 - davidtwco:issue-55118, r=pnkfelixbors-7/+7
2018-10-17mir/borrowck: remove redundant returnsljedrz-6/+6
2018-10-17mir/borrowck: deduplicate assignments and returnsljedrz-6/+2
2018-10-17mir/borrowck: simplify common patternsljedrz-3/+3
2018-10-17rustc: improve E0669 spanLevente Kurusa-1/+1
2018-10-17Don't buffer lints.David Wood-7/+7
2018-10-16Don't complain re missing `mut` on attempt to partially initialize an uniniti...Felix S. Klock II-9/+23
2018-10-16Cleanup `fn is_mutable` by removing some unnecessary control-flow breaks.Felix S. Klock II-4/+4
2018-10-16Add helper method to determine if local had ever been initialized at current ...Felix S. Klock II-19/+25
2018-10-16Make us error consistently in issue #21232, to fix #54986.Felix S. Klock II-8/+96
2018-10-09Point to variable in `asm!` macro when failing borrowckEsteban Küber-3/+3
2018-10-05Rollup merge of #54787 - varkor:unused-mut-in-desugaring, r=nikomatsakisPietro Albini-1/+5
2018-10-03Record whether a Call in MIR corresponds to a call in HIRMatthew Jasper-0/+1
2018-10-03Only warn about unused `mut` in user-written codevarkor-1/+5
2018-09-26Auto merge of #54526 - nnethercote:shrink-StatementKind, r=nagisabors-2/+2
2018-09-24Don't check for conflicting borrows of `ReadForMatch`esMatthew Jasper-3/+12
2018-09-24Better messages for errors from Shallow borrowsMatthew Jasper-2/+11
2018-09-24Add "Shallow" borrow kindMatthew Jasper-7/+25