diff --git a/compiler/rustc_resolve/src/lib.rs b/compiler/rustc_resolve/src/lib.rs index 086f0249114ba..3342bd146c4ee 100644 --- a/compiler/rustc_resolve/src/lib.rs +++ b/compiler/rustc_resolve/src/lib.rs @@ -3207,7 +3207,7 @@ impl<'a> Resolver<'a> { } } } - ImportKind::ExternCrate { source, target, .. } => { + ImportKind::ExternCrate { source, target } => { suggestion = Some(format!( "extern crate {} as {};", source.unwrap_or(target.name),