diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-08-07 09:29:54 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 19:00:28 +0100 |
commit | 5249b87d9aa7ebbdb7e007b223c62db057efb161 (patch) | |
tree | 8b64d28bd33bcece4012ed6f463db11da8d5ed7d /gcc/rust | |
parent | a60bafec5a093a19d81000468789c153d0112db8 (diff) | |
download | gcc-5249b87d9aa7ebbdb7e007b223c62db057efb161.zip gcc-5249b87d9aa7ebbdb7e007b223c62db057efb161.tar.gz gcc-5249b87d9aa7ebbdb7e007b223c62db057efb161.tar.bz2 |
gccrs: Fix a warning about extra semicolon
This semicolon produces several warning in each TU the header file is
included in.
gcc/rust/ChangeLog:
* util/rust-common.h (enum_to_str): Remove extra semicolon after
the function.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust')
-rw-r--r-- | gcc/rust/util/rust-common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/util/rust-common.h b/gcc/rust/util/rust-common.h index 763771d..fc8ba6e 100644 --- a/gcc/rust/util/rust-common.h +++ b/gcc/rust/util/rust-common.h @@ -63,7 +63,7 @@ enum_to_str (Mutability mut) return "Mut"; } gcc_unreachable (); -}; +} } // namespace Rust |