about summary refs log tree commit diff
path: root/src/test/compile-fail/no_share-struct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/no_share-struct.rs')
-rw-r--r--src/test/compile-fail/no_share-struct.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/no_share-struct.rs b/src/test/compile-fail/no_share-struct.rs
index 59864b63b04..c7028ce9786 100644
--- a/src/test/compile-fail/no_share-struct.rs
+++ b/src/test/compile-fail/no_share-struct.rs
@@ -10,7 +10,7 @@
 
 use std::marker;
 
-struct Foo { a: int, m: marker::NoSync }
+struct Foo { a: isize, m: marker::NoSync }
 
 fn bar<T: Sync>(_: T) {}