syntax: add a missing span rewrite in fold.
This was leaving Decls without the new spans; this is a minor change, since literally nothing reads in the code base reads the span of a Decl itself, always just its contents.
This commit is contained in:
parent
85ff90c86c
commit
6419848e66
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ pub trait Folder {
|
|||
node.move_iter().map(|node| {
|
||||
@Spanned {
|
||||
node: node,
|
||||
span: d.span,
|
||||
span: self.new_span(d.span),
|
||||
}
|
||||
}).collect()
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue