]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #40841 - arielb1:immutable-blame, r=pnkfelix
authorCorey Farwell <coreyf@rwell.org>
Wed, 29 Mar 2017 12:57:06 +0000 (08:57 -0400)
committerGitHub <noreply@github.com>
Wed, 29 Mar 2017 12:57:06 +0000 (08:57 -0400)
commita63b1dfa34cac58c8a19776dee7bfc54bd2e80f5
tree782376996e2ff71f913524f13a6baad7b8eded61
parent96dd9a9d27fdb59bad8ad545e96ecacad5dec8e6
parent39011f8590b69d5ee9037c4ac9b863a516ae2e1e
Rollup merge of #40841 - arielb1:immutable-blame, r=pnkfelix

borrowck: consolidate `mut` suggestions

This converts all of borrowck's `mut` suggestions to a new
`mc::ImmutabilityBlame` API instead of the current mix of various hacks.

Fixes #35937.
Fixes #40823.
Fixes #40859.

cc @estebank
r? @pnkfelix
src/librustc/hir/lowering.rs
src/librustc/hir/mod.rs
src/librustc_borrowck/borrowck/mod.rs