]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Make resolution of AssociatedItem instances polymorphic
authorOwen Avery <powerboat9.gamer@gmail.com>
Wed, 11 Oct 2023 19:06:21 +0000 (15:06 -0400)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 18:09:22 +0000 (19:09 +0100)
commit2854b1204f2896d1ffa4371c6141cf7b65dca918
tree2bbcb6ba414165f2e21fd037d549477f2a86e4f8
parent124bfaf4323f627bd7721401c3a86f369f45a1b2
gccrs: Make resolution of AssociatedItem instances polymorphic

gcc/rust/ChangeLog:

* resolve/rust-ast-resolve-implitem.h
(ResolveToplevelImplItem::go): Take AssociatedItem as parameter.
(ResolveTopLevelTraitItems::go): Likewise.
* resolve/rust-ast-resolve-item.cc
(ResolveTraitItems::go): Likewise.
(ResolveItem::resolve_impl_item): Likewise.
(ResolveImplItems::go): Likewise.
* resolve/rust-ast-resolve-item.h
(ResolveTraitItems::go): Likewise.
(ResolveItem::resolve_impl_item): Likewise.
(ResolveImplItems::go): Likewise.

Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
gcc/rust/resolve/rust-ast-resolve-implitem.h
gcc/rust/resolve/rust-ast-resolve-item.cc
gcc/rust/resolve/rust-ast-resolve-item.h