diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2020-11-26 19:11:43 +0100 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2020-11-26 21:32:29 +0100 |
| commit | 60c3bbd8447593b06fcab55ed9bd2f0f0af678fc (patch) | |
| tree | 7b9ab4f5f67213e62c182dcb824210a33cabd318 /compiler/rustc_metadata/src | |
| parent | 51d10249e7b91e501a07df87ef56a6a35ee9c4cd (diff) | |
| download | rust-60c3bbd8447593b06fcab55ed9bd2f0f0af678fc.tar.gz rust-60c3bbd8447593b06fcab55ed9bd2f0f0af678fc.zip | |
Formatting.
Diffstat (limited to 'compiler/rustc_metadata/src')
| -rw-r--r-- | compiler/rustc_metadata/src/rmeta/encoder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_metadata/src/rmeta/encoder.rs b/compiler/rustc_metadata/src/rmeta/encoder.rs index 070481a3e55..52ffd9a7975 100644 --- a/compiler/rustc_metadata/src/rmeta/encoder.rs +++ b/compiler/rustc_metadata/src/rmeta/encoder.rs @@ -1225,7 +1225,7 @@ impl EncodeContext<'a, 'tcx> { hir::ItemKind::Mod(ref m) => { return self.encode_info_for_mod(item.hir_id, m, &item.attrs); } - hir::ItemKind::ForeignMod{..} => EntryKind::ForeignMod, + hir::ItemKind::ForeignMod { .. } => EntryKind::ForeignMod, hir::ItemKind::GlobalAsm(..) => EntryKind::GlobalAsm, hir::ItemKind::TyAlias(..) => EntryKind::Type, hir::ItemKind::OpaqueTy(..) => { |
