]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Handle type path segments during late resolution 2.0
authorOwen Avery <powerboat9.gamer@gmail.com>
Tue, 19 Nov 2024 21:09:01 +0000 (16:09 -0500)
committerP-E-P <32375388+P-E-P@users.noreply.github.com>
Wed, 20 Nov 2024 19:12:27 +0000 (19:12 +0000)
gcc/rust/ChangeLog:

* resolve/rust-late-name-resolver-2.0.cc
(Late::visit): Call DefaultResolver::visit when visiting
TypePath.

gcc/testsuite/ChangeLog:

* rust/compile/nr2/exclude: Remove entries.

Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
gcc/rust/resolve/rust-late-name-resolver-2.0.cc
gcc/testsuite/rust/compile/nr2/exclude

index 4dbd86aa5d0d40bd48b279dcf945b1e94cc424fb..a96dc1ccf346607cfd1b2e7591dc1a86395de78d 100644 (file)
@@ -263,6 +263,8 @@ Late::visit (AST::TypePath &type)
                   Definition (resolved->get_node_id ()));
   else
     rust_unreachable ();
+
+  DefaultResolver::visit (type);
 }
 
 void
index 2e956960dad6b6ff884b3952592530e91c60899f..3dbebc703c4f8d5a37e00ef7bda8f400a6a71ad6 100644 (file)
@@ -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