]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #14250 : alexcrichton/rust/gc, r=brson
authorbors <bors@rust-lang.org>
Wed, 11 Jun 2014 17:02:04 +0000 (10:02 -0700)
committerbors <bors@rust-lang.org>
Wed, 11 Jun 2014 17:02:04 +0000 (10:02 -0700)
This commit removes `@T` from the compiler by moving the AST to using `Gc<T>`. This also starts treating `Gc<T>` as `@T` in the same way that `Box<T>` is the same as `~T` in the compiler.

After this hits a snapshot, the `@T` syntax should be able to be removed completely.

src/libstd/prelude.rs

index 485c2140a8d1b035f8b2271a8dba3f4394ff6517..eb862ecf932901c72046ca5641f6aaa52e5f885b 100644 (file)
@@ -66,7 +66,7 @@
 #[doc(no_inline)] pub use iter::{Iterator, DoubleEndedIterator};
 #[doc(no_inline)] pub use iter::{RandomAccessIterator, CloneableIterator};
 #[doc(no_inline)] pub use iter::{OrdIterator, MutableDoubleEndedIterator};
-#[doc(no_inline)] pub use num::{Num, NumCast, CheckedAdd, CheckedSub, CheckedMul};
+#[doc(no_inline)] pub use num::{Num, NumCast, CheckedAdd, CheckedSub, CheckedMul, CheckedDiv};
 #[doc(no_inline)] pub use num::{Signed, Unsigned, Primitive, Int, Float};
 #[doc(no_inline)] pub use num::{FloatMath, ToPrimitive, FromPrimitive};
 #[doc(no_inline)] pub use owned::Box;