mozilla/rust — pull request #12117 by nikomatsakis (2014-02-09 00:45:23+00:00)
Title: Issue 11913 borrow in aliasable loc

Repair a rather embarassingly obvious hole that I created as part of #9629. In particular, prevent `&mut` borrows of data in an aliasable location. This used to be prevented through the restrictions mechanism, but in #9629 I modified those rules incorrectly.

r? @pcwalton

Fixes #11913