diff --git a/src/imports.rs b/src/imports.rs index 09f6e752338..2da746295fc 100644 --- a/src/imports.rs +++ b/src/imports.rs @@ -458,7 +458,9 @@ fn from_ast( 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(