]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Make some general improvements
authorOwen Avery <powerboat9.gamer@gmail.com>
Sun, 14 Dec 2025 21:37:31 +0000 (16:37 -0500)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 23 Dec 2025 11:16:48 +0000 (12:16 +0100)
commit0780ff1fc5fe9e71e5510fc60bb845c58ab36880
tree782f3f650ef2e4d718639cad0c3c348a92a8cb53
parent1ac674c7a743598d2d689c35092a2475c3cea947
gccrs: Make some general improvements

gcc/rust/ChangeLog:

* ast/rust-ast-visitor.cc (DefaultASTVisitor::visit): Visit the
generic parameters of TraitItemType.
* expand/rust-expand-visitor.h (is_derive): Remove defunct
function declaration.
* hir/rust-ast-lower-item.cc (ASTLoweringItem::visit): Remove
unnecessary copy.
* resolve/rust-name-resolver.cc (Resolver::Resolver): Skip
generating builtins for the old resolver.
* util/rust-hir-map.cc (Mappings::get_next_node_id): Detect node
id exhaustion.
* util/rust-mapping-common.h (MAX_NODEID): Add macro definition.

Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
gcc/rust/ast/rust-ast-visitor.cc
gcc/rust/expand/rust-expand-visitor.h
gcc/rust/hir/rust-ast-lower-item.cc
gcc/rust/resolve/rust-name-resolver.cc
gcc/rust/util/rust-hir-map.cc
gcc/rust/util/rust-mapping-common.h