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
..
2014-06-29 11:47:58 -07:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-17 14:05:36 -07:00
2014-07-17 14:05:36 -07:00
2014-07-17 14:05:36 -07:00
2014-07-17 14:05:36 -07:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-08 13:01:43 -07:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 23:16:12 -07:00
2014-06-29 11:47:58 -07:00
2014-06-29 11:47:58 -07:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-05-24 21:48:10 -07:00
2014-06-18 17:02:02 -07:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-06-29 11:47:58 -07:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 23:16:12 -07:00
2014-07-16 23:16:12 -07:00
2014-07-16 23:16:12 -07:00
2014-07-16 23:16:12 -07:00
2014-07-16 23:16:12 -07:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 23:16:12 -07:00
2014-07-16 23:16:12 -07:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-02 13:32:57 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-17 14:05:36 -07:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00
2014-07-16 09:46:31 +02:00