]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/issue-18423.rs
Update compile fail tests to use isize.
[rust.git] / src / test / compile-fail / issue-18423.rs
index 63b110b5579344901453bcbbbc00bf6b1e182c8d..5945a7a1c9a7e4e9d819f3a7917b2ad0f9b1c6e5 100644 (file)
@@ -11,7 +11,7 @@
 // Test that `Box` cannot be used with a lifetime parameter.
 
 struct Foo<'a> {
-    x: Box<'a, int> //~ ERROR wrong number of lifetime parameters
+    x: Box<'a, isize> //~ ERROR wrong number of lifetime parameters
 }
 
 pub fn main() {