Skip to content

Commit

Permalink
fixup: trait method, again
Browse files Browse the repository at this point in the history
  • Loading branch information
powerboat9 committed Sep 17, 2024
1 parent 8c2ed8b commit d2abade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcc/rust/resolve/rust-toplevel-name-resolver-2.0.cc
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ TopLevel::visit (AST::Trait &trait)
trait.insert_implict_self (
std::unique_ptr<AST::GenericParam> (implicit_self));

insert_or_error_out (trait_item.get_identifier (), trait_item,
insert_or_error_out (trait.get_identifier (), trait,
Namespace::Types);
DefaultResolver::visit (trait);
}
Expand Down

0 comments on commit d2abade

Please sign in to comment.