Module rustc::middle::stabilityUnstable [-] [+] [src]

A pass that annotates every item and method with its stability level, propagating default levels lexically from parent to children ast nodes.

Structs

Index

A stability index, giving the stability level for items and methods.

Functions

check_expr

Helper for discovering nodes to check for stability

check_item

Helper for discovering nodes to check for stability

check_path
check_unstable_api_usage

Cross-references the feature names of unstable APIs with enabled features and possibly prints errors. Returns a list of all features used.

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.

lookup

Lookup the stability for a node, loading external crate metadata as necessary.