Skip to content

Commit

Permalink
insert or error with loc
Browse files Browse the repository at this point in the history
  • Loading branch information
powerboat9 committed Jan 11, 2025
1 parent 6745a22 commit 16ba56e
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 @@ -97,7 +97,7 @@ TopLevel::visit (AST::Module &module)
void
TopLevel::visit (AST::Trait &trait)
{
insert_or_error_out (trait.get_identifier ().as_string (), trait,
insert_or_error_out (trait.get_identifier (), trait,
Namespace::Types);

DefaultResolver::visit (trait);
Expand Down

0 comments on commit 16ba56e

Please sign in to comment.