about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
diff options
context:
space:
mode:
authorTheodore Luo Wang <wangtheo662@gmail.com>2021-09-01 11:55:36 -0400
committerTheodore Luo Wang <wangtheo662@gmail.com>2021-09-01 11:55:36 -0400
commitce9e76528abea4d5bc8d360e3c6d40e61cffb889 (patch)
treeff9db7042ef43ea15311706d4328fa0b3d573056 /compiler/rustc_parse/src/parser/expr.rs
parent5a863d594c725d09ab8f0df5caba374d72200976 (diff)
downloadrust-ce9e76528abea4d5bc8d360e3c6d40e61cffb889.tar.gz
rust-ce9e76528abea4d5bc8d360e3c6d40e61cffb889.zip
Update formatting
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
-rw-r--r--compiler/rustc_parse/src/parser/expr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/expr.rs b/compiler/rustc_parse/src/parser/expr.rs
index c887f9fe0cf..b0f29601417 100644
--- a/compiler/rustc_parse/src/parser/expr.rs
+++ b/compiler/rustc_parse/src/parser/expr.rs
@@ -535,7 +535,7 @@ impl<'a> Parser<'a> {
                 if let Some(sp) = this.sess.ambiguous_block_expr_parse.borrow().get(&sp) {
                     this.sess.expr_parentheses_needed(&mut err, *sp);
                 } else {
-                   err.span_suggestion(
+                    err.span_suggestion(
                         lo,
                         "try removing the `+`",
                         "".to_string(),