rust-lang/rust — pull request #16915 by nick29581 (2014-09-01 04:21:04+00:00)
Title: Schedule cleanup for &* on fat owned pointers

For example `let _x: &Trait = &*(box Foo as Box);`. There was a bug where no cleanup would be scheduled by the deref.

No test because cleanup-auto-borrow-obj.rs is a test for this once we remove trait cross-borrowing (done on another branch).

r?