Rollup merge of #94563 - TaKO8Ki:remove-unnecessary-patten-for-ignoring-remaining-parts, r=Dylan-DPC

Remove a unnecessary `..` pattern
This commit is contained in:
Matthias Krüger 2022-03-03 20:01:49 +01:00 committed by GitHub
commit cfa58dfd1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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),