about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/imports.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports.rs b/src/imports.rs
index b6530c69243..d9dc8d004af 100644
--- a/src/imports.rs
+++ b/src/imports.rs
@@ -490,7 +490,7 @@ impl UseTree {
                 );
                 result.path.push(UseSegment { kind, version });
             }
-            UseTreeKind::Simple(ref rename, ..) => {
+            UseTreeKind::Simple(ref rename) => {
                 // If the path has leading double colons and is composed of only 2 segments, then we
                 // bypass the call to path_to_imported_ident which would get only the ident and
                 // lose the path root, e.g., `that` in `::that`.