]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Shape up name resolver for normal direct calls
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Wed, 10 Jan 2024 15:44:09 +0000 (16:44 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 1 Aug 2024 14:52:26 +0000 (16:52 +0200)
commitd284cf6fe2006df512b4e63f5db554ef39e9f3ab
treeb5d519cac43668474723939df906a85521ce1758
parent8c331e24575c0584be372a78bb0bbcca914d567c
gccrs: Shape up name resolver for normal direct calls

Direct function calls did not work anymore due to the transition to the
new resolver.

gcc/rust/ChangeLog:

* checks/lints/rust-lint-marklive.cc (MarkLive::find_ref_node_id):
Add code path for the resolver 2.0
* resolve/rust-late-name-resolver-2.0.cc (Late::visit): Remove failing
label context resolve call.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/checks/lints/rust-lint-marklive.cc
gcc/rust/resolve/rust-late-name-resolver-2.0.cc