about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2014-06-24 23:11:57 -0700
committerPatrick Walton <pcwalton@mimiga.net>2014-06-24 23:14:42 -0700
commitf6bfd2c65ba2a1292be1e62dd1c61a70abccdd1a (patch)
treeefdda7183699eaa7975d895e34bb6269c5f20323 /src/libsyntax/parse
parent7a93beef7f692b34168ad69633f56483d38ad8fc (diff)
downloadrust-f6bfd2c65ba2a1292be1e62dd1c61a70abccdd1a.tar.gz
rust-f6bfd2c65ba2a1292be1e62dd1c61a70abccdd1a.zip
librustc: Remove cross borrowing from mutable `Box`es to `&mut`.
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]
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions