Add (..)
syntax for RTN
This commit is contained in:
parent
104aacb49f
commit
8b592db27a
44 changed files with 355 additions and 201 deletions
|
@ -312,6 +312,7 @@ impl<'a> From<&'a ast::PathSegment> for Segment {
|
|||
(args.span, found_lifetimes)
|
||||
}
|
||||
GenericArgs::Parenthesized(args) => (args.span, true),
|
||||
GenericArgs::ReturnTypeNotation(span) => (*span, false),
|
||||
}
|
||||
} else {
|
||||
(DUMMY_SP, false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue