review comments
This commit is contained in:
parent
91b7423760
commit
6ad77b0938
3 changed files with 14 additions and 4 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue