Patrick Walton
090040bf40
librustc: Remove ~EXPR
, ~TYPE
, and ~PAT
from the language, except
...
for `~str`/`~[]`.
Note that `~self` still remains, since I forgot to add support for
`Box<self>` before the snapshot.
How to update your code:
* Instead of `~EXPR`, you should write `box EXPR`.
* Instead of `~TYPE`, you should write `Box<Type>`.
* Instead of `~PATTERN`, you should write `box PATTERN`.
[breaking-change]
2014-05-06 23:12:54 -07:00
Alex Crichton
bb9172d7b5
Fix fallout of removing default bounds
...
This is all purely fallout of getting the previous commit to compile.
2014-03-27 10:14:50 -07:00
Alex Crichton
3fb1ed0e04
rustc: Remove all usage of manual deref()
...
Favor using '*' instead
2014-03-22 08:48:34 -07:00
Alex Crichton
76f0b1ad1f
test: Fix fallout of removing get()
2014-03-22 08:48:20 -07:00
Eduard Burtescu
cdc18b96d6
Remove Rc's borrow method to avoid conflicts with RefCell's borrow in Rc<RefCell<T>>.
2014-03-13 14:21:45 +02:00
Derek Guenther
730bdb6403
Added tests to make tidy
2014-02-07 12:49:24 -06:00
Daniel Micay
b36a948831
stop treating Rc
cycles as unsafe
2014-01-09 15:53:44 -05:00
Steven Fackler
bdfaf04bd5
Move mutable::Mut to cell::RefCell
2013-11-23 13:45:05 -08:00
Steven Fackler
7c9daa8ff7
Remove RcMut
...
Rc<Mut<T>> should be used instead
2013-11-22 21:19:53 -08:00
Daniel Micay
18be986c99
clean up the Rc
/RcMut
types and move to libstd
2013-10-11 13:28:36 -04:00
Tim Chevalier
393a130b3d
Testsuite: Test for #7013 . Closes #7013
2013-08-21 17:17:49 -07:00