about summary refs log tree commit diff
path: root/src/test/compile-fail/liveness-use-after-send.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/liveness-use-after-send.rs')
-rw-r--r--src/test/compile-fail/liveness-use-after-send.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/liveness-use-after-send.rs b/src/test/compile-fail/liveness-use-after-send.rs
index 44d45463f19..4ba24800f5d 100644
--- a/src/test/compile-fail/liveness-use-after-send.rs
+++ b/src/test/compile-fail/liveness-use-after-send.rs
@@ -15,11 +15,11 @@ fn send<T:Send + std::fmt::Show>(ch: _chan<T>, data: T) {
 }
 
 #[derive(Show)]
-struct _chan<T>(int);
+struct _chan<T>(isize);
 
 // Tests that "log(debug, message);" is flagged as using
 // message after the send deinitializes it
-fn test00_start(ch: _chan<Box<int>>, message: Box<int>, _count: Box<int>) {
+fn test00_start(ch: _chan<Box<isize>>, message: Box<isize>, _count: Box<isize>) {
     send(ch, message);
     println!("{}", message); //~ ERROR use of moved value: `message`
 }