Skip to main content

Module ids

Module ids 

Source
Expand description

Id handling for rustdoc-json.

Manages the creation of rustdoc_json_types::Id and the fact that these don’t correspond exactly to [DefId], because rustdoc_json_types::Item doesn’t correspond exactly to what other phases think of as an “item”.

Re-exports§

use rustc_attr_ir::find_attr; 🔒
use rustc_data_structures::fx::FxHashMap; 🔒
use rustc_hir::def_id::DefId; 🔒
use rustc_span::Symbol; 🔒
use rustdoc_json_types as types; 🔒
use super::JsonRenderer; 🔒
use crate::clean; 🔒

Structs§

FullItemId 🔒
An uninterned id.

Type Aliases§

IdInterner 🔒