rust/src/librustc/util
Patrick Walton de70d76373 librustc: Remove cross-borrowing of Box<T> to &T from the language,
except where trait objects are involved.

Part of issue #15349, though I'm leaving it open for trait objects.
Cross borrowing for trait objects remains because it is needed until we
have DST.

This will break code like:

    fn foo(x: &int) { ... }

    let a = box 3i;
    foo(a);

Change this code to:

    fn foo(x: &int) { ... }

    let a = box 3i;
    foo(&*a);

[breaking-change]
2014-07-17 14:05:36 -07:00
..
common.rs rustc: Move the AST from @T to Gc<T> 2014-06-11 09:51:37 -07:00
nodemap.rs Fallout from the libcollections movement 2014-06-05 13:55:11 -07:00
ppaux.rs librustc: Remove cross-borrowing of Box<T> to &T from the language, 2014-07-17 14:05:36 -07:00