mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 21:16:27 +03:00
f6bfd2c65b
This will break code like:
fn f(x: &mut int) {}
let mut a = box 1i;
f(a);
Change it to:
fn f(x: &mut int) {}
let mut a = box 1i;
f(&mut *a);
RFC 33; issue #10504.
[breaking-change]