Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve handling of ConstantItem during name resolution 2.0
gcc/rust/ChangeLog: * resolve/rust-default-resolver.cc (DefaultResolver::visit): Scope with Rib::Kind::ConstantItem instead of Rib::Kind::Item. * resolve/rust-toplevel-name-resolver-2.0.cc (TopLevel::visit): Remove redundancy in override of ConstantItem visitor. Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
- Loading branch information