]> git.ipfire.org Git - thirdparty/gcc.git/commit
Use AssociatedItem in place of TraitItem
authorKushal Pal <kushalpal109@gmail.com>
Wed, 24 Jan 2024 11:33:09 +0000 (17:03 +0530)
committerCohenArthur <arthur.cohen@embecosm.com>
Mon, 5 Feb 2024 17:08:39 +0000 (17:08 +0000)
commita9ed0b1594fc3d95bdfb999fbce6d93424d26868
tree5a53fd684e3fc0a86102e6ba926872de416b4a58
parent38af9fef52e716ca38cf182a9d86ff49953a586f
Use AssociatedItem in place of TraitItem

gcc/rust/ChangeLog:

* ast/rust-ast.h: Replace TraitItem with AssociatedItem.
* ast/rust-item.h (class Trait): Likewise.
* expand/rust-expand-visitor.cc (ExpandVisitor::visit):
Likewise.
* parse/rust-parse-impl.h (Parser::parse_trait): Likewise.
* parse/rust-parse.h: Likewise.

Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
gcc/rust/ast/rust-ast.h
gcc/rust/ast/rust-item.h
gcc/rust/expand/rust-expand-visitor.cc
gcc/rust/parse/rust-parse-impl.h
gcc/rust/parse/rust-parse.h