summary refs log tree commit diff
path: root/src/librustc_borrowck
AgeCommit message (Expand)AuthorLines
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-31make end-point optional in the borrow checkNiko Matsakis-1/+2
2017-10-30Refactor if block to use idiomatic matchesJosh Leeb-du Toit-14/+10
2017-10-30Refactor matches to use Result::errJosh Leeb-du Toit-11/+4
2017-10-29Fix duplicate display of error E0502Josh Leeb-du Toit-9/+30
2017-10-25Reword to avoid using either re-assignment or reassignment in errorsCarol (Nichols || Goulding)-1/+1
2017-10-18Auto merge of #44501 - nikomatsakis:issue-44137-non-query-data-in-tcx, r=eddybbors-2/+14
2017-10-17Rollup merge of #45097 - nivkner:fixme_fixup2, r=estebankkennytm-7/+7
2017-10-16convert constant promotion into a queryNiko Matsakis-2/+14
2017-10-16turn link to RFC 1751 into a markdown linkNiv Kaminer-1/+1
2017-10-16Auto merge of #45283 - alexcrichton:used-mut-nodes, r=arielb1bors-10/+162
2017-10-14rustc: Remove `used_mut_nodes` from `TyCtxt`Alex Crichton-10/+162
2017-10-14Auto merge of #45167 - pnkfelix:migrate-remaining-ast-diagnostics, r=arielb1bors-529/+28
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-53/+20
2017-10-10Moved remaining AST-borrowck diagnostic definitions to `rustc_mir` crate.Felix S. Klock II-476/+0
2017-10-08Auto merge of #45016 - pnkfelix:mir-borrowck-gather-and-signal-move-errors, r...bors-296/+9
2017-10-08address more FIXME whose associated issues were marked as closedNiv Kaminer-7/+7
2017-10-04Move E0509 diagnostic into mod borrowck_errors shared between ast- and mir-bo...Felix S. Klock II-102/+3
2017-10-04Move E0508 diagnostic into mod borrowck_errors shared between ast- and mir-bo...Felix S. Klock II-58/+2
2017-10-04Move E0507 diagnostic into mod borrowck_errors shared between ast- and mir-bo...Felix S. Klock II-136/+4
2017-10-04add notes to report_conflicting_borrow MIR borrowckMikhail Modin-91/+18
2017-09-29mir-borrowck: Factorize error message for `cannot_assign_static()` between AS...Basile Desloges-6/+1
2017-09-29mir-borrowck: Move span_label calls for `cannot_use_when_mutably_borrowed()` ...Basile Desloges-8/+4
2017-09-29mir-borrowck: Move span_label calls for `cannot_assign_to_borrowed()` inside ...Basile Desloges-7/+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-6/+6
2017-09-01rustc: rename CodeExtent to Scope and RegionMaps to ScopeTree.Eduard-Mihai Burtescu-52/+52
2017-09-01rustc: use hir::ItemLocalId instead of ast::NodeId in CodeExtent.Eduard-Mihai Burtescu-45/+33
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-74/+87
2017-08-28Merge branch 'master' of https://github.com/rust-lang/rust into genJohn Kåre Alsaker-6/+0
2017-08-27Move unused-extern-crate to late passTatsuyuki Ishi-3/+0
2017-08-25*: remove crate_{name,type} attributesTamir Duberstein-3/+0
2017-08-25Merge remote-tracking branch 'origin/master' into genAlex Crichton-13/+12
2017-08-22Rollup merge of #43993 - tamird:better-wording-error, r=arielb1Guillaume Gomez-13/+12
2017-08-21Merge remote-tracking branch 'origin/master' into genAlex Crichton-14/+2
2017-08-21Merge remote-tracking branch 'origin/master' into genAlex Crichton-93/+1
2017-08-21Auto merge of #43971 - alexcrichton:lint-statements, r=michaelwoeristerbors-14/+2
2017-08-20borrowck: name the correct type in error messageTamir Duberstein-13/+12
2017-08-19rustc: Remove some dead codeVadim Petrochenkov-97/+1
2017-08-18rustc: Add `Local` to the HIR map of parentsAlex Crichton-13/+1
2017-08-18Fix a diagnosticAlex Crichton-1/+1
2017-08-17rustc: Rename NodeLocal to NodeBindingAlex Crichton-1/+1
2017-08-16Merge remote-tracking branch 'origin/master' into genAlex Crichton-599/+53
2017-08-16Merge remote-tracking branch 'origin/master' into genAlex Crichton-40/+40
2017-08-16Move borrowck error msg construction to module in `rustc_mir` (for later reus...Felix S. Klock II-599/+53