rustdoc: Replace FakeDefId
with new ItemId
type
This commit is contained in:
parent
6e9b3696d4
commit
43e1cdbaf9
14 changed files with 79 additions and 84 deletions
|
@ -19,7 +19,7 @@ use rustc_span::def_id::CRATE_DEF_INDEX;
|
|||
use rustc_target::spec::abi::Abi;
|
||||
|
||||
use crate::clean::{
|
||||
self, utils::find_nearest_parent_module, ExternalCrate, FakeDefId, GetDefId, PrimitiveType,
|
||||
self, utils::find_nearest_parent_module, ExternalCrate, GetDefId, ItemId, PrimitiveType,
|
||||
};
|
||||
use crate::formats::item_type::ItemType;
|
||||
use crate::html::escape::Escape;
|
||||
|
@ -1181,7 +1181,7 @@ impl clean::FnDecl {
|
|||
impl clean::Visibility {
|
||||
crate fn print_with_space<'a, 'tcx: 'a>(
|
||||
self,
|
||||
item_did: FakeDefId,
|
||||
item_did: ItemId,
|
||||
cx: &'a Context<'tcx>,
|
||||
) -> impl fmt::Display + 'a + Captures<'tcx> {
|
||||
let to_print = match self {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue