From ff19c0583200251732b2a48b87d43e6e95e62810 Mon Sep 17 00:00:00 2001 From: Takayuki Maeda Date: Fri, 4 Mar 2022 00:57:38 +0900 Subject: [PATCH] remove a unnecessary `..` pattern --- compiler/rustc_resolve/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),