Expand description
Propagates stability to child items.
The purpose of this pass is to make items whose parents are βmore unstableβ
than the item itself inherit the parentβs stability.
For example, core::error::Error is marked as stable since 1.0.0, but the
core::error module is marked as stable since 1.81.0, so we want to show
core::error::Error as stable since 1.81.0 as well.
Re-exportsΒ§
use rustc_attr_ir::Stability;πuse rustc_attr_ir::StabilityLevel;πuse rustc_hir::def_id::CRATE_DEF_ID;πuse crate::clean::Crate;πuse crate::clean::Item;πuse crate::clean::ItemId;πuse crate::clean::ItemKind;πuse crate::core::DocContext;πuse crate::fold::DocFolder;π
StructsΒ§
- Stability
Propagator π
FunctionsΒ§
- merge_
stability π - propagate_
stability π