]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Fix semicolon after some namespace
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Tue, 29 Jul 2025 15:33:18 +0000 (17:33 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 5 Aug 2025 14:36:59 +0000 (16:36 +0200)
commita9fdfc065c3710a26b8a77d2c5d3fc73f4be8371
tree061d61387bd14d8edb9580e13571a35a10fb6cb6
parent611b74cffe430a0eff0af544b511ddd6a14f42f6
gccrs: Fix semicolon after some namespace

Remove namespace comment after classes and structs.

gcc/rust/ChangeLog:

* checks/errors/borrowck/rust-bir-fact-collector.h: Remove spurious
comment.
* checks/errors/rust-feature.cc: Likewise.
* util/optional.h: Likewise.
* expand/rust-token-tree-desugar.cc (TokenTreeDesugar::visit): Remove
semicolons on namespace.
* expand/rust-token-tree-desugar.h: Likewise.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/checks/errors/borrowck/rust-bir-fact-collector.h
gcc/rust/checks/errors/rust-feature.cc
gcc/rust/expand/rust-token-tree-desugar.cc
gcc/rust/expand/rust-token-tree-desugar.h
gcc/rust/util/optional.h