diff options
Diffstat (limited to 'gcc/testsuite/rust/compile/func1.rs')
-rw-r--r-- | gcc/testsuite/rust/compile/func1.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/rust/compile/func1.rs b/gcc/testsuite/rust/compile/func1.rs index 6758a38..037d377 100644 --- a/gcc/testsuite/rust/compile/func1.rs +++ b/gcc/testsuite/rust/compile/func1.rs @@ -1,5 +1,5 @@ fn test(x: i32) -> bool { - return x + 1; // { dg-error "expected .bool. got .i32." } + return x + 1; // { dg-error "mismatched types, expected .bool. but got .i32." } } fn main() { |