about summary refs log tree commit diff
path: root/compiler/rustc_incremental
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2020-11-11 22:40:09 +0100
committerCamille GILLOT <gillot.camille@gmail.com>2020-11-26 21:32:27 +0100
commit032f68d625e08b0a5485d3da7ad2487a519103be (patch)
tree258c2ee77cb1478721c20ef1f11a88dd9078a3ea /compiler/rustc_incremental
parent419a9186a4c8aeb2157298ea084a54c87ee2a653 (diff)
downloadrust-032f68d625e08b0a5485d3da7ad2487a519103be.tar.gz
rust-032f68d625e08b0a5485d3da7ad2487a519103be.zip
Remove ForeignMod struct.
Diffstat (limited to 'compiler/rustc_incremental')
-rw-r--r--compiler/rustc_incremental/src/persist/dirty_clean.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_incremental/src/persist/dirty_clean.rs b/compiler/rustc_incremental/src/persist/dirty_clean.rs
index a4a79e6d02b..e1c60050d94 100644
--- a/compiler/rustc_incremental/src/persist/dirty_clean.rs
+++ b/compiler/rustc_incremental/src/persist/dirty_clean.rs
@@ -280,7 +280,7 @@ impl DirtyCleanVisitor<'tcx> {
                     HirItem::Mod(..) => ("ItemMod", LABELS_HIR_ONLY),
 
                     // // An external module
-                    HirItem::ForeignMod(..) => ("ItemForeignMod", LABELS_HIR_ONLY),
+                    HirItem::ForeignMod { .. } => ("ItemForeignMod", LABELS_HIR_ONLY),
 
                     // Module-level inline assembly (from global_asm!)
                     HirItem::GlobalAsm(..) => ("ItemGlobalAsm", LABELS_HIR_ONLY),