aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/func4.rs
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/rust/compile/func4.rs')
-rw-r--r--gcc/testsuite/rust/compile/func4.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/rust/compile/func4.rs b/gcc/testsuite/rust/compile/func4.rs
index 3b2d2b0..1b54878 100644
--- a/gcc/testsuite/rust/compile/func4.rs
+++ b/gcc/testsuite/rust/compile/func4.rs
@@ -1,4 +1,4 @@
-fn func() -> i32 { // { dg-error "expected .i32. got ...." }
+fn func() -> i32 { // { dg-error "mismatched types, expected .i32. but got ...." }
}
fn main() {