aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKushal Pal <kushalpal109@gmail.com>2024-01-26 11:44:12 +0530
committerCohenArthur <arthur.cohen@embecosm.com>2024-02-05 17:08:39 +0000
commit16936de7c1d020e6b390d8a768dab08deb50036a (patch)
tree76d1681f305964e0f11438176f39ba1745b752bf /gcc
parentf1b650698219f0330ee0e59384b5b8c789debf37 (diff)
downloadgcc-16936de7c1d020e6b390d8a768dab08deb50036a.zip
gcc-16936de7c1d020e6b390d8a768dab08deb50036a.tar.gz
gcc-16936de7c1d020e6b390d8a768dab08deb50036a.tar.bz2
Fix inconsistent formatting.
gcc/testsuite/ChangeLog: * rust/compile/issue-2040.rs: Enclose 'const' in single quotes. Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
Diffstat (limited to 'gcc')
-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
}
}