]> git.lizzy.rs Git - rust.git/commit
NLL: Broad rewrite of check_access_perimssions.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Tue, 12 Jun 2018 16:00:27 +0000 (18:00 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Tue, 19 Jun 2018 17:38:37 +0000 (19:38 +0200)
commit7fd4b52b1b83195594ef88c193fdd409b68f19ef
tree0271ea1e1cd937c2d5786a0aeca08aa86f171ef8
parent6dfed7e813ae1d660ddaa4de778214b7906b87b3
NLL: Broad rewrite of check_access_perimssions.

Tried to unify various common code paths and also vaguely approximate
the AST-borrowck diagnostics.

The change in (subjective) quality of diagnostics is not a universal
improvement. But I think this is a better code base to work from
for future fixes.
src/librustc_mir/borrow_check/mod.rs