review comments
This commit is contained in:
parent
c9d05aa9ce
commit
b21408527a
5 changed files with 34 additions and 32 deletions
|
@ -197,7 +197,7 @@ impl<'a> Parser<'a> {
|
|||
let (args, constraints) =
|
||||
self.parse_generic_args_with_leaning_angle_bracket_recovery(style, lo)?;
|
||||
self.expect_gt()?;
|
||||
let span = ident.span.to(self.prev_span);
|
||||
let span = lo.to(self.prev_span);
|
||||
AngleBracketedArgs { args, constraints, span }.into()
|
||||
} else {
|
||||
// `(T, U) -> R`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue