From: Owen Avery <[email protected]>
gcc/testsuite/ChangeLog:
* rust/compile/derive-debug1.rs: Adjust a path.
* rust/compile/nr2/exclude: Remove derive-debug1.rs.
Signed-off-by: Owen Avery <[email protected]>
---
gcc/testsuite/rust/compile/derive-debug1.rs | 2 +-
gcc/testsuite/rust/compile/nr2/exclude | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/gcc/testsuite/rust/compile/derive-debug1.rs
b/gcc/testsuite/rust/compile/derive-debug1.rs
index 2596a3792f1..cf2187dbce7 100644
--- a/gcc/testsuite/rust/compile/derive-debug1.rs
+++ b/gcc/testsuite/rust/compile/derive-debug1.rs
@@ -15,7 +15,7 @@ mod core {
struct Formatter; // { dg-warning "is never constructed" }
struct Error; // { dg-warning "is never constructed" }
- type Result = core::result::Result<(), Error>;
+ type Result = crate::core::result::Result<(), Error>;
trait Debug {
fn fmt(&self, fmt: &mut Formatter) -> Result;
diff --git a/gcc/testsuite/rust/compile/nr2/exclude
b/gcc/testsuite/rust/compile/nr2/exclude
index 12e63d884a3..f94cbe46679 100644
--- a/gcc/testsuite/rust/compile/nr2/exclude
+++ b/gcc/testsuite/rust/compile/nr2/exclude
@@ -13,7 +13,6 @@ pub_restricted_3.rs
use_1.rs
issue-2905-2.rs
derive_clone_enum3.rs
-derive-debug1.rs
derive-default1.rs
derive-eq-invalid.rs
torture/alt_patterns1.rs
--
2.49.0