diff options
author | Kushal Pal <kushalpal109@gmail.com> | 2024-01-26 11:44:12 +0530 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-02-07 12:40:24 +0100 |
commit | ffeb72c41fd0efa71f0a1995ea7146323f640b15 (patch) | |
tree | 3e54320a6863d1cce71c6dfe0e08a4355884d655 | |
parent | 41cbf917de55341069efa389ec21f90a1197da53 (diff) | |
download | gcc-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.rs | 2 |
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 } } |