rust/src/libterm
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
..
terminfo librustc: Remove cross-borrowing of Box<T> to &T from the language, 2014-07-17 14:05:36 -07:00
lib.rs Update doc URLs for version bump 2014-07-11 11:21:57 -07:00
win.rs windows: Allow snake_case errors for now. 2014-05-30 17:59:41 +01:00