aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKushal Pal <kushalpal109@gmail.com>2024-01-26 11:44:12 +0530
committerArthur Cohen <arthur.cohen@embecosm.com>2024-02-07 12:40:24 +0100
commitffeb72c41fd0efa71f0a1995ea7146323f640b15 (patch)
tree3e54320a6863d1cce71c6dfe0e08a4355884d655
parent41cbf917de55341069efa389ec21f90a1197da53 (diff)
downloadgcc-ffeb72c41fd0efa71f0a1995ea7146323f640b15.zip
gcc-ffeb72c41fd0efa71f0a1995ea7146323f640b15.tar.gz
gcc-ffeb72c41fd0efa71f0a1995ea7146323f640b15.tar.bz2
gccrs: Fix inconsistent formatting.
gcc/testsuite/ChangeLog: * rust/compile/issue-2040.rs: Enclose 'const' in single quotes. Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
-rw-r--r--gcc/testsuite/rust/compile/issue-2040.rs2
1 files changed, 1 insertions, 1 deletions
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
}
}