Introduce BareFnTy::decl_span and fix generics span.
This commit is contained in:
parent
5953c57f27
commit
db8a9274a9
4 changed files with 10 additions and 14 deletions
|
@ -1976,6 +1976,8 @@ pub struct BareFnTy {
|
|||
pub ext: Extern,
|
||||
pub generic_params: Vec<GenericParam>,
|
||||
pub decl: P<FnDecl>,
|
||||
/// Span of the `fn(...) -> ...` part.
|
||||
pub decl_span: Span,
|
||||
}
|
||||
|
||||
/// The various kinds of type recognized by the compiler.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue