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] |
||
|---|---|---|
| .. | ||
| cmp | ||
| generic | ||
| bounds.rs | ||
| clone.rs | ||
| decodable.rs | ||
| default.rs | ||
| encodable.rs | ||
| hash.rs | ||
| mod.rs | ||
| primitive.rs | ||
| rand.rs | ||
| show.rs | ||
| zero.rs | ||