aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/traits9.rs
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/rust/compile/traits9.rs')
-rw-r--r--gcc/testsuite/rust/compile/traits9.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/testsuite/rust/compile/traits9.rs b/gcc/testsuite/rust/compile/traits9.rs
index bb3034d..f4308e8 100644
--- a/gcc/testsuite/rust/compile/traits9.rs
+++ b/gcc/testsuite/rust/compile/traits9.rs
@@ -11,6 +11,5 @@ fn main() {
a = Foo(123);
let b: &dyn Bar = &a;
- // { dg-error "bounds not satisfied for Foo .Bar. is not satisfied" "" { target *-*-* } .-1 }
- // { dg-error "expected" "" { target *-*-* } .-2 }
+ // { dg-error "bounds not satisfied for Foo .Bar. is not satisfied .E0277." "" { target *-*-* } .-1 }
}