From: Kushal Pal Date: Fri, 26 Jan 2024 06:14:12 +0000 (+0530) Subject: gccrs: Fix inconsistent formatting. X-Git-Tag: basepoints/gcc-15~1276 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ffeb72c41fd0efa71f0a1995ea7146323f640b15;p=thirdparty%2Fgcc.git gccrs: Fix inconsistent formatting. gcc/testsuite/ChangeLog: * rust/compile/issue-2040.rs: Enclose 'const' in single quotes. Signed-off-by: Kushal Pal --- diff --git a/gcc/testsuite/rust/compile/issue-2040.rs b/gcc/testsuite/rust/compile/issue-2040.rs index fbac168b9f38..89895420a4d8 100644 --- a/gcc/testsuite/rust/compile/issue-2040.rs +++ b/gcc/testsuite/rust/compile/issue-2040.rs @@ -4,7 +4,7 @@ trait Foo { impl Foo for u32 { const fn f() -> u32 { - // { dg-error "functions in traits cannot be declared const" "" { target *-*-* } .-1 } + // { dg-error "functions in traits cannot be declared .const." "" { target *-*-* } .-1 } 22 } }