about summary refs log tree commit diff
path: root/src/test/compile-fail/shadowing-in-the-same-pattern.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/shadowing-in-the-same-pattern.rs')
-rw-r--r--src/test/compile-fail/shadowing-in-the-same-pattern.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/shadowing-in-the-same-pattern.rs b/src/test/compile-fail/shadowing-in-the-same-pattern.rs
index 0b78023d318..c29534128ae 100644
--- a/src/test/compile-fail/shadowing-in-the-same-pattern.rs
+++ b/src/test/compile-fail/shadowing-in-the-same-pattern.rs
@@ -10,7 +10,7 @@
 
 // Test for issue #14581.
 
-fn f((a, a): (int, int)) {} //~ ERROR identifier `a` is bound more than once
+fn f((a, a): (isize, isize)) {} //~ ERROR identifier `a` is bound more than once
 
 fn main() {
     let (a, a) = (1, 1);    //~ ERROR identifier `a` is bound more than once