about summary refs log tree commit diff
path: root/src/test/compile-fail/lint-owned-heap-memory.rs
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2015-01-08 21:54:35 +1100
committerNiko Matsakis <niko@alum.mit.edu>2015-01-08 11:02:24 -0500
commit0c70ce1424f380360dcc8d857c68d2df1a27b6fd (patch)
tree74d2e8e7267b4edcc4d5defe5a9b1a34d4e1d215 /src/test/compile-fail/lint-owned-heap-memory.rs
parent4f5a57e80ef6c029278f1e8ef59e13dcea9b255b (diff)
downloadrust-0c70ce1424f380360dcc8d857c68d2df1a27b6fd.tar.gz
rust-0c70ce1424f380360dcc8d857c68d2df1a27b6fd.zip
Update compile fail tests to use isize.
Diffstat (limited to 'src/test/compile-fail/lint-owned-heap-memory.rs')
-rw-r--r--src/test/compile-fail/lint-owned-heap-memory.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/lint-owned-heap-memory.rs b/src/test/compile-fail/lint-owned-heap-memory.rs
index 1702cefec6d..9c68da8beaf 100644
--- a/src/test/compile-fail/lint-owned-heap-memory.rs
+++ b/src/test/compile-fail/lint-owned-heap-memory.rs
@@ -13,7 +13,7 @@
 #![feature(box_syntax)]
 
 struct Foo {
-    x: Box<int> //~ ERROR type uses owned
+    x: Box<isize> //~ ERROR type uses owned
 }
 
 fn main() {