review comment: wording
This commit is contained in:
parent
97d47a5e7c
commit
9d91489526
5 changed files with 9 additions and 9 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue