diff options
Diffstat (limited to 'gcc/testsuite/rust/compile/method1.rs')
-rw-r--r-- | gcc/testsuite/rust/compile/method1.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/rust/compile/method1.rs b/gcc/testsuite/rust/compile/method1.rs index d371bf2..3741c61 100644 --- a/gcc/testsuite/rust/compile/method1.rs +++ b/gcc/testsuite/rust/compile/method1.rs @@ -8,5 +8,5 @@ pub fn main() { a = Foo(123); a.test(); - // { dg-error "failed to resolve method for .test." "" { target *-*-* } .-1 } + // { dg-error "no method named .test. found in the current scope" "" { target *-*-* } .-1 } } |