]> git.lizzy.rs Git - rust.git/commit
Auto merge of #64790 - Centril:rip-ast-borrowck, r=matthewjasper
authorbors <bors@rust-lang.org>
Fri, 27 Sep 2019 21:17:09 +0000 (21:17 +0000)
committerbors <bors@rust-lang.org>
Fri, 27 Sep 2019 21:17:09 +0000 (21:17 +0000)
commitc6f87c2c6e3b34381e5c37567a2b11af1fdf1507
tree59cf9cc0ffc0240f1e524405b130916bc088aca9
parent084beb83e0e87d673d5fabc844d28e8e8ae2ab4c
parent001357f97197797bec534cc5ec5ae6fabcc01e21
Auto merge of #64790 - Centril:rip-ast-borrowck, r=matthewjasper

Rest In Peace, AST borrowck (2012-2019)

After having served us for 7 years, the AST borrow-checker is no more.

This PR starts from the commit `rm -rf librustc_ast_borrowck`, building on https://github.com/rust-lang/rust/pull/64221, and is probably best read commit by commit.

Migrate mode is not removed yet as it may be useful for NLL => polonius and it is also used for the `mutable_borrow_reservation_conflict` issue (https://github.com/rust-lang/rust/issues/59159).

r? @matthewjasper

------------------------

![ast-borrowck-rip](https://user-images.githubusercontent.com/855702/65646791-91a87600-dffc-11e9-9814-deed6b821c80.png)