about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-09-07 01:16:38 +0000
committerbors <bors@rust-lang.org>2015-09-07 01:16:38 +0000
commit86156ac60607c760dda349c88bbdc08898cf7494 (patch)
tree429890e59187e2f407424fe8f43a30b4c0d18405 /src/libsyntax/parse
parentf6aac80375ee8ec63522affc09e0cd5c4f888b44 (diff)
parentcd9c9f048f6aa0be091cd9835771ba0712bead4e (diff)
downloadrust-86156ac60607c760dda349c88bbdc08898cf7494.tar.gz
rust-86156ac60607c760dda349c88bbdc08898cf7494.zip
Auto merge of #28175 - christopherdumas:master, r=nrc
per #28168. This is my first contribution. I don't know who to "r?" for source code changes.
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 5017d079480..1985c91c921 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -2236,8 +2236,7 @@ impl<'a> Parser<'a> {
                                 self.span_err(last_span,
                                               "structure literal must either \
                                               have at least one field or use \
-                                              functional structure update \
-                                              syntax");
+                                              structure update syntax");
                             }
 
                             hi = self.span.hi;