summary refs log tree commit diff
path: root/src/librustc_borrowck/borrowck/mod.rs
AgeCommit message (Expand)AuthorLines
2018-03-16change &self to self and fix lifetime annotationscsmoe-14/+14
2018-03-05Turn features() into a query.Michael Woerister-1/+1
2018-03-02Replace Rc with Lrc for shared dataJohn Kåre Alsaker-4/+5
2018-02-17fix more typos found by codespell.Matthias Krüger-1/+1
2018-02-06Rollup merge of #47543 - topecongiro:issue-42344, r=nikomatsakiskennytm-11/+1
2018-02-04Remove delay_span_bug() in check_aliasabilitySeiichi Uchida-11/+1
2018-01-29rustc_borrowck: replace "lvalue" terminology with "place" in docs.Eduard-Mihai Burtescu-2/+2
2018-01-29rustc: replace "lvalue" terminology with "place" in the code.Eduard-Mihai Burtescu-1/+1
2018-01-27end_point handling multibyte characters correctly.David Wood-1/+2
2018-01-23Adds support for immovable generators. Move checking of invalid borrows acros...John Kåre Alsaker-67/+0
2018-01-15Do not suggest to make `mut` binding external to `Fn` closureEsteban Küber-3/+25
2018-01-10Modify message to match labelEsteban Küber-0/+1
2018-01-07Assignment to immutable argument: diagnostic tweakEsteban Küber-1/+1
2018-01-04Auto merge of #47124 - estebank:loan-paths, r=nikomatsakisbors-7/+21
2018-01-03Add mir test, review commentsEsteban Küber-3/+3
2018-01-02Be ambiguous when type cannot be properly mentionedEsteban Küber-16/+24
2018-01-01Address review comments: make label shorterEsteban Küber-8/+14
2018-01-01Move reason for move to labelEsteban Küber-11/+11
2018-01-01Delay panic for aliasing violation for static items.matthewjasper-8/+13
2017-12-31Reword trying to operate in immutable fieldsEsteban Küber-23/+41
2017-12-20feature nll implies borrowck=mirSantiago Pastorino-1/+1
2017-12-14Point at var in short lived borrowsEsteban Küber-11/+7
2017-11-26Replace -Zborrowck-mir with -Zborrowck=modeest31-0/+11
2017-11-18convert the `closure_kinds` map to just store the origin informationNiko Matsakis-4/+2
2017-11-16Introduce LocalDefId which provides a type-level guarantee that the DefId is ...Michael Woerister-5/+5
2017-11-02Make the difference between lint codes and error codes explicitOliver Schneider-4/+9
2017-10-25Reword to avoid using either re-assignment or reassignment in errorsCarol (Nichols || Goulding)-1/+1
2017-10-16Auto merge of #45283 - alexcrichton:used-mut-nodes, r=arielb1bors-6/+37
2017-10-14rustc: Remove `used_mut_nodes` from `TyCtxt`Alex Crichton-6/+37
2017-10-14Auto merge of #45167 - pnkfelix:migrate-remaining-ast-diagnostics, r=arielb1bors-52/+27
2017-10-11Point at immutable outer variableEsteban Küber-1/+15
2017-10-10Add `Origin::Ast` arguments to all of the migrated AST-borrowck diagnostics.Felix S. Klock II-10/+18
2017-10-10Fixed client code for diagnostics migration, adding new methods to `trait Bor...Felix S. Klock II-52/+19
2017-09-29mir-borrowck: Factorize error message for `cannot_assign_static()` between AS...Basile Desloges-5/+1
2017-09-20Only consider yields coming after the expressions when computing generator in...John Kåre Alsaker-1/+1
2017-09-14bring Ty into scopeDouglas Campos-4/+4
2017-09-08Use NodeId/HirId instead of DefId for local variables.Eduard-Mihai Burtescu-4/+4
2017-09-01rustc: rename CodeExtent to Scope and RegionMaps to ScopeTree.Eduard-Mihai Burtescu-27/+27
2017-09-01rustc: use hir::ItemLocalId instead of ast::NodeId in CodeExtent.Eduard-Mihai Burtescu-23/+19
2017-09-01rustc: take TyCtxt and RegionMaps in CodeMap::span.Eduard-Mihai Burtescu-8/+5
2017-09-01rustc: use hir::ItemLocalId instead of ast::NodeId in CFG.Eduard-Mihai Burtescu-6/+11
2017-08-21Merge remote-tracking branch 'origin/master' into genAlex Crichton-1/+1
2017-08-21Merge remote-tracking branch 'origin/master' into genAlex Crichton-9/+0
2017-08-21Auto merge of #43971 - alexcrichton:lint-statements, r=michaelwoeristerbors-1/+1
2017-08-19rustc: Remove some dead codeVadim Petrochenkov-13/+0
2017-08-17rustc: Rename NodeLocal to NodeBindingAlex Crichton-1/+1
2017-08-16Merge remote-tracking branch 'origin/master' into genAlex Crichton-12/+31
2017-08-16Merge remote-tracking branch 'origin/master' into genAlex Crichton-1/+1
2017-08-16Move borrowck error msg construction to module in `rustc_mir` (for later reus...Felix S. Klock II-12/+31
2017-08-15use field init shorthand EVERYWHEREZack M. Davis-1/+1