]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: remove name resolution inserts from type-path
authorPhilip Herron <herron.philip@googlemail.com>
Wed, 12 Feb 2025 16:44:55 +0000 (16:44 +0000)
committerArthur Cohen <arthur.cohen@embecosm.com>
Mon, 24 Mar 2025 12:07:05 +0000 (13:07 +0100)
commitdd0a895a5558ce37f9f813aca696f7b18678dd99
tree6fad6026dcccbcc5fc2325c7a96d03dc0be4663c
parent980ae7ad44397cdebf4e115546fff0b42493a247
gccrs: remove name resolution inserts from type-path

We resolve path segments and inserted their resolution into the name
resolution space which was an old hack to use this as information in
code-gen/check-passes in order to help things move forward but this is
not nessecary

gcc/rust/ChangeLog:

* typecheck/rust-hir-type-check-type.cc (TypeCheckType::visit): remove name resolution info
(TypeCheckType::resolve_root_path): likewise
* typecheck/rust-hir-type-check-type.h: likewise

Signed-off-by: Philip Herron <herron.philip@googlemail.com>
gcc/rust/typecheck/rust-hir-type-check-type.cc
gcc/rust/typecheck/rust-hir-type-check-type.h