diff options
Diffstat (limited to 'gcc/testsuite/rust/compile/arrays1.rs')
-rw-r--r-- | gcc/testsuite/rust/compile/arrays1.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/rust/compile/arrays1.rs b/gcc/testsuite/rust/compile/arrays1.rs index 714a6be..2db5667 100644 --- a/gcc/testsuite/rust/compile/arrays1.rs +++ b/gcc/testsuite/rust/compile/arrays1.rs @@ -1,4 +1,4 @@ fn main() { let xs: [i32; 5] = [1, 2, 3, 4, 5]; - let a: bool = xs[0]; // { dg-error "expected .bool. got .i32." } + let a: bool = xs[0]; // { dg-error "mismatched types, expected .bool. but got .i32." } } |