Skip to content

Commit

Permalink
Handle type path segments during late resolution 2.0
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
powerboat9 authored and P-E-P committed Nov 20, 2024
1 parent a969fd7 commit 0a559cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions gcc/rust/resolve/rust-late-name-resolver-2.0.cc
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ Late::visit (AST::TypePath &type)
Definition (resolved->get_node_id ()));
else
rust_unreachable ();

DefaultResolver::visit (type);
}

void
Expand Down
2 changes: 0 additions & 2 deletions gcc/testsuite/rust/compile/nr2/exclude
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ generics3.rs
generics4.rs
generics5.rs
generics6.rs
generics7.rs
generics8.rs
generics9.rs
if_let_expr.rs
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0a559cc

Please sign in to comment.