review comments

This commit is contained in:
Esteban Küber 2019-03-25 21:38:23 -07:00
parent 91b7423760
commit 6ad77b0938
3 changed files with 14 additions and 4 deletions

View file

@ -3208,7 +3208,7 @@ impl<'a> Parser<'a> {
if let Some(suffix) = suffix {
let mut err = self.diagnostic().struct_span_err(
span,
"tuple index with a suffix is invalid",
"suffixes on tuple indexes are invalid",
);
err.span_label(span, format!("invalid suffix `{}`", suffix));
err.emit();