aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/nr2
diff options
context:
space:
mode:
authorOwen Avery <powerboat9.gamer@gmail.com>2025-02-23 16:45:41 -0500
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-24 13:30:43 +0100
commit853f57877d56db503075c1ea3ffc29a005c6489c (patch)
tree1a4f5cbf624347c07b68347529fa6f0123b67140 /gcc/testsuite/rust/compile/nr2
parentf1ccfd074bc3a95eb6289c08b44f79aed8ad7b84 (diff)
downloadgcc-853f57877d56db503075c1ea3ffc29a005c6489c.zip
gcc-853f57877d56db503075c1ea3ffc29a005c6489c.tar.gz
gcc-853f57877d56db503075c1ea3ffc29a005c6489c.tar.bz2
gccrs: Modify multiple definition error
gcc/rust/ChangeLog: * resolve/rust-ast-resolve-expr.cc (ResolveExpr::visit): Modify error message. * resolve/rust-ast-resolve-implitem.h (ResolveToplevelImplItem::visit): Likewise. (ResolveTopLevelTraitItems::visit): Likewise. (ResolveToplevelExternItem::visit): Likewise. * resolve/rust-ast-resolve-stmt.cc (ResolveStmt::visit): Likewise. * resolve/rust-ast-resolve-stmt.h (ResolveStmt::visit): Likewise. * resolve/rust-ast-resolve-toplevel.h (ResolveTopLevel::visit): Likewise. * resolve/rust-ast-resolve-type.h (ResolveGenericParams::visit): Likewise. gcc/testsuite/ChangeLog: * rust/compile/nr2/exclude: Remove entries. * rust/compile/redef_error2.rs: Modify expected error. * rust/compile/redef_error5.rs: Likewise. Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/testsuite/rust/compile/nr2')
-rw-r--r--gcc/testsuite/rust/compile/nr2/exclude2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/testsuite/rust/compile/nr2/exclude b/gcc/testsuite/rust/compile/nr2/exclude
index 6b8cf98..de58248 100644
--- a/gcc/testsuite/rust/compile/nr2/exclude
+++ b/gcc/testsuite/rust/compile/nr2/exclude
@@ -25,8 +25,6 @@ privacy8.rs
pub_restricted_1.rs
pub_restricted_2.rs
pub_restricted_3.rs
-redef_error2.rs
-redef_error5.rs
sizeof-stray-infer-var-bug.rs
struct-expr-parse.rs
undeclared_label.rs