about summary refs log tree commit diff
path: root/src/librustdoc/html/render
diff options
context:
space:
mode:
authorJustus K <justus.k@protonmail.com>2021-06-26 13:52:31 +0200
committerJustus K <justus.k@protonmail.com>2021-07-05 19:49:43 +0200
commit43e1cdbaf9230cc36b18f9ab41079449c5cac375 (patch)
tree1a5f04870a89cc7ab9d9fc209878a8d4285cb8ef /src/librustdoc/html/render
parent6e9b3696d494a32d493585f96f0671123066cd58 (diff)
downloadrust-43e1cdbaf9230cc36b18f9ab41079449c5cac375.tar.gz
rust-43e1cdbaf9230cc36b18f9ab41079449c5cac375.zip
rustdoc: Replace `FakeDefId` with new `ItemId` type
Diffstat (limited to 'src/librustdoc/html/render')
-rw-r--r--src/librustdoc/html/render/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustdoc/html/render/mod.rs b/src/librustdoc/html/render/mod.rs
index 0583efa92ff..5beb75d2e9e 100644
--- a/src/librustdoc/html/render/mod.rs
+++ b/src/librustdoc/html/render/mod.rs
@@ -53,7 +53,7 @@ use rustc_span::symbol::{kw, sym, Symbol};
 use serde::ser::SerializeSeq;
 use serde::{Serialize, Serializer};
 
-use crate::clean::{self, FakeDefId, GetDefId, RenderedLink, SelfTy};
+use crate::clean::{self, GetDefId, ItemId, RenderedLink, SelfTy};
 use crate::docfs::PathError;
 use crate::error::Error;
 use crate::formats::cache::Cache;
@@ -987,7 +987,7 @@ fn render_attributes_in_code(w: &mut Buffer, it: &clean::Item) {
 #[derive(Copy, Clone)]
 enum AssocItemLink<'a> {
     Anchor(Option<&'a str>),
-    GotoSource(FakeDefId, &'a FxHashSet<Symbol>),
+    GotoSource(ItemId, &'a FxHashSet<Symbol>),
 }
 
 impl<'a> AssocItemLink<'a> {