store the span of the nested part of the use tree in the ast
This commit is contained in:
parent
7af33b3076
commit
afa482ef24
@ -458,7 +458,9 @@ fn from_ast(
|
|||||||
version,
|
version,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
UseTreeKind::Nested(ref list) => {
|
UseTreeKind::Nested {
|
||||||
|
items: ref list, ..
|
||||||
|
} => {
|
||||||
// Extract comments between nested use items.
|
// Extract comments between nested use items.
|
||||||
// This needs to be done before sorting use items.
|
// This needs to be done before sorting use items.
|
||||||
let items = itemize_list(
|
let items = itemize_list(
|
||||||
|
Loading…
Reference in New Issue
Block a user