diff --git a/src/test/compile-fail/huge-array.rs b/src/test/compile-fail/huge-array.rs index 37a5bca424da..4b91564154b6 100644 --- a/src/test/compile-fail/huge-array.rs +++ b/src/test/compile-fail/huge-array.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// error-pattern: 1518599999 +// error-pattern: ..1518599999 fn generic(t: T) { let s: [T, ..1518600000] = [t, ..1518600000]; diff --git a/src/test/compile-fail/issue-17913.rs b/src/test/compile-fail/issue-17913.rs index 8420ea3f4b32..7baab03c1190 100644 --- a/src/test/compile-fail/issue-17913.rs +++ b/src/test/compile-fail/issue-17913.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// error-pattern: too big for the current ABI +// error-pattern: too big for the current architecture fn main() { let n = 0u;