From: Pierre-Emmanuel Patry Date: Mon, 7 Aug 2023 07:29:54 +0000 (+0200) Subject: gccrs: Fix a warning about extra semicolon X-Git-Tag: basepoints/gcc-15~2242 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5249b87d9aa7ebbdb7e007b223c62db057efb161;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/rust/util/rust-common.h b/gcc/rust/util/rust-common.h index 763771dceb51..fc8ba6e1e584 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