store the span of the nested part of the use tree in the ast
This commit is contained in:
parent
7af33b3076
commit
afa482ef24
1 changed files with 3 additions and 1 deletions
|
|
@ -458,7 +458,9 @@ impl UseTree {
|
|||
version,
|
||||
});
|
||||
}
|
||||
UseTreeKind::Nested(ref list) => {
|
||||
UseTreeKind::Nested {
|
||||
items: ref list, ..
|
||||
} => {
|
||||
// Extract comments between nested use items.
|
||||
// This needs to be done before sorting use items.
|
||||
let items = itemize_list(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue