functional structure update syntax -> structure update syntax

This commit is contained in:
christopherdumas 2015-09-02 13:25:01 -07:00
parent f84d53ca0a
commit cd9c9f048f
1 changed files with 1 additions and 2 deletions

View File

@ -2236,8 +2236,7 @@ impl<'a> Parser<'a> {
self.span_err(last_span, self.span_err(last_span,
"structure literal must either \ "structure literal must either \
have at least one field or use \ have at least one field or use \
functional structure update \ structure update syntax");
syntax");
} }
hi = self.span.hi; hi = self.span.hi;