gccrs: Fix inconsistent formatting
commitf7c8a712be233f492b21bb1a4c4a3aa5f07b184b
authorKushal Pal <kushalpal109@gmail.com>
Tue, 16 Jan 2024 13:36:35 +0000 (16 19:06 +0530)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 30 Jan 2024 11:36:51 +0000 (30 12:36 +0100)
tree890634e864b8453d29d4b8b5740090959e80d712
parentf46fdb6399d91d56f095088c8cf0f1fd6d971e25
gccrs: Fix inconsistent formatting

gcc/rust/ChangeLog:

* checks/errors/rust-ast-validation.cc (ASTValidation::visit):
Enclose const in single quotes.

gcc/testsuite/ChangeLog:

* rust/compile/const_trait_fn.rs:
Enclose const in single quotes.

Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
gcc/rust/checks/errors/rust-ast-validation.cc
gcc/testsuite/rust/compile/const_trait_fn.rs