diff --git a/gcc/rust/resolve/rust-late-name-resolver-2.0.cc b/gcc/rust/resolve/rust-late-name-resolver-2.0.cc index 4dbd86aa5d0d..a96dc1ccf346 100644 --- a/gcc/rust/resolve/rust-late-name-resolver-2.0.cc +++ b/gcc/rust/resolve/rust-late-name-resolver-2.0.cc @@ -263,6 +263,8 @@ Late::visit (AST::TypePath &type) Definition (resolved->get_node_id ())); else rust_unreachable (); + + DefaultResolver::visit (type); } void diff --git a/gcc/testsuite/rust/compile/nr2/exclude b/gcc/testsuite/rust/compile/nr2/exclude index 2e956960dad6..3dbebc703c4f 100644 --- a/gcc/testsuite/rust/compile/nr2/exclude +++ b/gcc/testsuite/rust/compile/nr2/exclude @@ -42,7 +42,6 @@ generics3.rs generics4.rs generics5.rs generics6.rs -generics7.rs generics8.rs generics9.rs if_let_expr.rs @@ -83,7 +82,6 @@ issue-2165.rs issue-2166.rs issue-2190-1.rs issue-2190-2.rs -issue-2195.rs issue-2238.rs issue-2304.rs issue-2330.rs