From 03e30ba43a86c71eeed6a3d464f57fd67b1069c1 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 5 May 2021 23:08:50 +0200 Subject: Fix (and XFAIL) 'dg-error' directives in 'rust.test/xfail_compile/generics6.rs' [#358] --- gcc/testsuite/rust.test/xfail_compile/generics6.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc') diff --git a/gcc/testsuite/rust.test/xfail_compile/generics6.rs b/gcc/testsuite/rust.test/xfail_compile/generics6.rs index 256d2aa..4cf45fd 100644 --- a/gcc/testsuite/rust.test/xfail_compile/generics6.rs +++ b/gcc/testsuite/rust.test/xfail_compile/generics6.rs @@ -4,7 +4,7 @@ struct Foo { } impl Foo { - fn test() -> i32 { // {dg-error "possible candidate" } + fn test() -> i32 { // { dg-error "possible candidate" "TODO" { xfail *-*-* } } 123 } @@ -14,7 +14,7 @@ impl Foo { } impl Foo { - fn test() -> i32 { // {dg-error "possible candidate" } + fn test() -> i32 { // { dg-error "possible candidate" "TODO" { xfail *-*-* } } 123 } -- cgit v1.1