summaryrefslogtreecommitdiffstats
path: root/src/librustdoc/formats/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustdoc/formats/mod.rs')
-rw-r--r--src/librustdoc/formats/mod.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/librustdoc/formats/mod.rs b/src/librustdoc/formats/mod.rs
index b236bd7be..e607a16ad 100644
--- a/src/librustdoc/formats/mod.rs
+++ b/src/librustdoc/formats/mod.rs
@@ -53,12 +53,6 @@ impl Impl {
ItemId::Blanket { impl_id, .. } => impl_id,
ItemId::Auto { trait_, .. } => trait_,
ItemId::DefId(def_id) => def_id,
- ItemId::Primitive(_, _) => {
- panic!(
- "Unexpected ItemId::Primitive in expect_def_id: {:?}",
- self.impl_item.item_id
- )
- }
}
}