about summary refs log tree commit diff
path: root/src/test/compile-fail/new-box-syntax-bad.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/new-box-syntax-bad.rs')
-rw-r--r--src/test/compile-fail/new-box-syntax-bad.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/new-box-syntax-bad.rs b/src/test/compile-fail/new-box-syntax-bad.rs
index 543902a7a55..383a0ac4619 100644
--- a/src/test/compile-fail/new-box-syntax-bad.rs
+++ b/src/test/compile-fail/new-box-syntax-bad.rs
@@ -13,7 +13,7 @@
 
 // Tests that the new `box` syntax works with unique pointers and GC pointers.
 
-use std::gc::Gc;
+use std::gc::{Gc, GC};
 use std::owned::{Box, HEAP};
 
 pub fn main() {