diff --git a/gcc/rust/ast/rust-ast-collector.cc b/gcc/rust/ast/rust-ast-collector.cc index 804519835ce..84a6161cd7e 100644 --- a/gcc/rust/ast/rust-ast-collector.cc +++ b/gcc/rust/ast/rust-ast-collector.cc @@ -2371,6 +2371,7 @@ TokenCollector::visit (TraitImpl &impl) visit (impl.get_where_clause ()); }); visit_items_as_block (impl.get_impl_items ()); + end_internal_comment ("TraitImpl"); } void