review comment: wording

This commit is contained in:
Esteban Küber 2020-02-10 13:58:36 -08:00
parent 97d47a5e7c
commit 9d91489526
5 changed files with 9 additions and 9 deletions

View file

@ -828,7 +828,7 @@ impl<'a> Parser<'a> {
if let Some(args) = segment.args {
self.struct_span_err(
args.span(),
"field expressions may not have generic arguments",
"field expressions cannot have generic arguments",
)
.emit();
}