Expand description
A pass that annotates every item and method with its stability level, propagating default levels lexically from parent to children ast nodes.
StructsΒ§
- Check
Trait πImpl Stable - Checker π
- Missing
Stability πAnnotations
EnumsΒ§
- Annotation
Kind π
ConstantsΒ§
- FORCE_
UNSTABLE π - If the
-Z force-unstable-if-unmarked
flag is passed then we provide a parent stability annotation which indicates that this is private with therustc_private
feature. This is intended for use when compiling library andrustc_*
crates themselves so we can leverage crates.io while maintaining the invariant that all sysroot crates are unstable by default and are unable to be used.
FunctionsΒ§
- annotation_
kind π - check_
mod_ πunstable_ api_ usage - Cross-references the feature names of unstable APIs with enabled features and possibly prints errors.
- check_
unused_ or_ stable_ features - Given the list of enabled features that were not language features (i.e., that were expected to be library features), and the list of features used from libraries, identify activated features that donβt exist and error about them.
- inherit_
const_ πstability - inherit_
deprecation π - inherit_
stability π - is_
unstable_ πreexport - Check whether a path is a
use
item that has been marked as unstable. - lookup_
const_ πstability - lookup_
default_ πbody_ stability - lookup_
deprecation_ πentry - lookup_
stability π - provide π
- stability_
implications π - unnecessary_
partially_ πstable_ feature_ lint - unnecessary_
stable_ πfeature_ lint