diff options
| author | Takayuki Maeda <takoyaki0316@gmail.com> | 2022-03-04 00:57:38 +0900 |
|---|---|---|
| committer | Takayuki Maeda <takoyaki0316@gmail.com> | 2022-03-04 00:57:38 +0900 |
| commit | ff19c0583200251732b2a48b87d43e6e95e62810 (patch) | |
| tree | 3036bb9e190081faa99002fc306c939cd74d4bd9 | |
| parent | 06460fe72c1ad9962c65f3b7326481a81979f465 (diff) | |
| download | rust-ff19c0583200251732b2a48b87d43e6e95e62810.tar.gz rust-ff19c0583200251732b2a48b87d43e6e95e62810.zip | |
remove a unnecessary `..` pattern
| -rw-r--r-- | compiler/rustc_resolve/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/lib.rs b/compiler/rustc_resolve/src/lib.rs index 086f0249114..3342bd146c4 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), |
