]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: collector: Fix remaining trait & extern issues
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Wed, 28 Jun 2023 13:54:12 +0000 (15:54 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:49:34 +0000 (18:49 +0100)
commit5c9b490bc281f0819a3c2e199f5e7048694ce6cc
treef99fcb2d340472a951c5a6365b47963e16056def
parentce1ca503d2baf64633f807c70dcfc1d10e264578
gccrs: collector: Fix remaining trait & extern issues

Fix remaining failing tests with trait and extern. Outer attributes were
missing and the semicolon did output on macro invocations.

gcc/rust/ChangeLog:

* ast/rust-ast-collector.cc (TokenCollector::visit): Fix
external item trailing semicolon and outer attributes.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/ast/rust-ast-collector.cc