]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: nr: Do prelude resolution for Identifiers
authorArthur Cohen <arthur.cohen@embecosm.com>
Fri, 12 Sep 2025 14:11:15 +0000 (16:11 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Fri, 16 Jan 2026 16:32:06 +0000 (17:32 +0100)
commit30e3760e63f10bc511e0976247d44487e514d3ce
tree083debb503c7f920de69e5d1c3c71c9a5262e82d
parentc9593a06449f5030dab77a752cf8338693532519
gccrs: nr: Do prelude resolution for Identifiers

gcc/rust/ChangeLog:

* resolve/rust-forever-stack.h: New function.
* resolve/rust-forever-stack.hxx: Implement it.
* resolve/rust-late-name-resolver-2.0.cc (Late::visit): Call it if the prelude exists
and we have an unresolved Identifier Call it if the prelude exists and we have
an unresolved Identifier.
gcc/rust/resolve/rust-forever-stack.h
gcc/rust/resolve/rust-forever-stack.hxx
gcc/rust/resolve/rust-late-name-resolver-2.0.cc