]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/duplicate-parameter.rs
Update compile fail tests to use isize.
[rust.git] / src / test / compile-fail / duplicate-parameter.rs
index c1c0f974de9e5c37f479202061222bd41ec63745..18ec55e10bb9a0410c1b54f6568687281275b0a6 100644 (file)
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-fn f(a: int, a: int) {}
+fn f(a: isize, a: isize) {}
 //~^ ERROR identifier `a` is bound more than once in this parameter list
 
 fn main() {