aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust
diff options
context:
space:
mode:
authorLyra <teromene@teromene.fr>2021-05-05 19:47:27 +0200
committerLyra <teromene@teromene.fr>2021-05-05 19:47:27 +0200
commit09ec48621f7ae2cf4665942e95166fd3f840fb2b (patch)
tree43c848ee7d2db2a30810adcdc613329d992f30a7 /gcc/rust
parente355d22a21afc2dbfc339f20a4c6ae3cb4e41c93 (diff)
downloadgcc-09ec48621f7ae2cf4665942e95166fd3f840fb2b.zip
gcc-09ec48621f7ae2cf4665942e95166fd3f840fb2b.tar.gz
gcc-09ec48621f7ae2cf4665942e95166fd3f840fb2b.tar.bz2
Fix clang formatting and include a test
Diffstat (limited to 'gcc/rust')
-rw-r--r--gcc/rust/parse/rust-parse-impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/parse/rust-parse-impl.h b/gcc/rust/parse/rust-parse-impl.h
index 06f8ef7..5dcb458 100644
--- a/gcc/rust/parse/rust-parse-impl.h
+++ b/gcc/rust/parse/rust-parse-impl.h
@@ -11457,7 +11457,7 @@ Parser<ManagedTokenSource>::parse_stmt_or_expr_with_block (
{
auto expr = parse_expr_with_block (std::move (outer_attrs));
if (expr == nullptr)
- return ExprOrStmt::create_error();
+ return ExprOrStmt::create_error ();
auto tok = lexer.peek_token ();