diff options
| author | laurent <laurent.mazare@gmail.com> | 2017-11-01 23:43:32 +0000 |
|---|---|---|
| committer | laurent <laurent.mazare@gmail.com> | 2017-11-01 23:43:32 +0000 |
| commit | ed20f3b5c0ae32802450c77da5c94c239c3a3500 (patch) | |
| tree | d3b969d3ef92d176e15db82c16c1820a266ef5ee /src/libsyntax/parse/parser.rs | |
| parent | d336f022d56b7d1b0ed181de0c88b12bb9b2ae39 (diff) | |
| download | rust-ed20f3b5c0ae32802450c77da5c94c239c3a3500.tar.gz rust-ed20f3b5c0ae32802450c77da5c94c239c3a3500.zip | |
Remove the redundant span_label.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index ec9b22ae5a2..6de2ca5b9b8 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -3158,7 +3158,6 @@ impl<'a> Parser<'a> { let in_span = self.prev_span.between(self.span); let mut err = self.sess.span_diagnostic .struct_span_err(in_span, "missing `in` in `for` loop"); - err.span_label(in_span, "expected `in` here"); err.span_suggestion_short(in_span, "try adding `in` here", " in ".into()); err.emit(); } |
