From ffeb72c41fd0efa71f0a1995ea7146323f640b15 Mon Sep 17 00:00:00 2001 From: Kushal Pal Date: Fri, 26 Jan 2024 11:44:12 +0530 Subject: gccrs: Fix inconsistent formatting. gcc/testsuite/ChangeLog: * rust/compile/issue-2040.rs: Enclose 'const' in single quotes. Signed-off-by: Kushal Pal --- gcc/testsuite/rust/compile/issue-2040.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/testsuite/rust/compile/issue-2040.rs b/gcc/testsuite/rust/compile/issue-2040.rs index fbac168..8989542 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 } } -- cgit v1.1