aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/run-pass/box-unbox.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/box-unbox.rs b/src/test/run-pass/box-unbox.rs
index 9c00f55c..d0ad615b 100644
--- a/src/test/run-pass/box-unbox.rs
+++ b/src/test/run-pass/box-unbox.rs
@@ -1,6 +1,6 @@
type box[T] = tup(@T);
-fn unbox[T](box[T] b) -> T { ret *b._0; }
+fn unbox[T](&box[T] b) -> T { ret *b._0; }
fn main() {
let int foo = 17;