aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2022-03-28 10:33:44 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2022-03-31 09:42:08 +0200
commit229512d662804454149bc578b93dda65c42ae312 (patch)
tree06c54f15bb095ee595f485309b1ce489ec143541
parentcf94fd8d51fcbf5f857a26dc7ae09e29384abc95 (diff)
downloadgcc-229512d662804454149bc578b93dda65c42ae312.zip
gcc-229512d662804454149bc578b93dda65c42ae312.tar.gz
gcc-229512d662804454149bc578b93dda65c42ae312.tar.bz2
single_ast_node: Fix typo in as_string() method
-rw-r--r--gcc/rust/ast/rust-ast.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/ast/rust-ast.h b/gcc/rust/ast/rust-ast.h
index 5368c42..0eff672 100644
--- a/gcc/rust/ast/rust-ast.h
+++ b/gcc/rust/ast/rust-ast.h
@@ -1800,7 +1800,7 @@ public:
case IMPL:
return "Impl Item: " + impl_item->as_string ();
case TRAIT_IMPL:
- return "Trait Impl Item: " + impl_item->as_string ();
+ return "Trait Impl Item: " + trait_impl_item->as_string ();
case TYPE:
return "Type: " + type->as_string ();
}