summary refs log tree commit diff
path: root/src/test/run-pass/nullable-pointer-size.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-06-11 19:33:52 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-06-14 10:45:37 -0700
commitade807c6dcf6dc4454732c5e914ca06ebb429773 (patch)
tree64606dac9c81ec4567e19f503d4d82e249dbf40a /src/test/run-pass/nullable-pointer-size.rs
parentf20b1293fcce4e120bd4a57226e0817271cd672c (diff)
downloadrust-ade807c6dcf6dc4454732c5e914ca06ebb429773.tar.gz
rust-ade807c6dcf6dc4454732c5e914ca06ebb429773.zip
rustc: Obsolete the `@` syntax entirely
This removes all remnants of `@` pointers from rustc. Additionally, this removes
the `GC` structure from the prelude as it seems odd exporting an experimental
type in the prelude by default.

Closes #14193
[breaking-change]
Diffstat (limited to 'src/test/run-pass/nullable-pointer-size.rs')
-rw-r--r--src/test/run-pass/nullable-pointer-size.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/run-pass/nullable-pointer-size.rs b/src/test/run-pass/nullable-pointer-size.rs
index 2309984a1f1..8a54f22585f 100644
--- a/src/test/run-pass/nullable-pointer-size.rs
+++ b/src/test/run-pass/nullable-pointer-size.rs
@@ -11,6 +11,7 @@
 #![feature(macro_rules, managed_boxes)]
 
 use std::mem;
+use std::gc::Gc;
 
 enum E<T> { Thing(int, T), Nothing((), ((), ()), [i8, ..0]) }
 struct S<T>(int, T);
@@ -39,6 +40,6 @@ macro_rules! check_type {
 pub fn main() {
     check_type!(&'static int);
     check_type!(Box<int>);
-    check_type!(@int);
+    check_type!(Gc<int>);
     check_type!(extern fn());
 }