1
Fork 0

tweak wording based on in person feedback

This commit is contained in:
Esteban Küber 2019-02-05 15:41:29 -08:00
parent cba96613de
commit 336c48cc7b
5 changed files with 8 additions and 10 deletions

View file

@ -720,9 +720,9 @@ impl<'a> Parser<'a> {
// {foo(bar {}}
// - ^ help: `)` may belong here
// |
// in order to close this...
// unclosed delimiter
if let Some(sp) = unmatched.unclosed_span {
err.span_label(sp, "in order to close this...");
err.span_label(sp, "unclosed delimiter");
}
err.span_suggestion_short(
self.sess.source_map().next_point(self.prev_span),