[−][src]Module rustc_passes::stability
A pass that annotates every item and method with its stability level, propagating default levels lexically from parent to children ast nodes.
Structs
| Annotator | |
| CheckTraitImplStable | |
| Checker | |
| MissingStabilityAnnotations |
Enums
| AnnotationKind | |
| InheritDeprecation | Whether to inherit deprecation flags for nested items. In most cases, we do want to inherit
deprecation, because nested items rarely have individual deprecation attributes, and so
should be treated as deprecated if their parent is. However, default generic parameters
have separate deprecation attributes from their parents, so we do not wish to inherit
deprecation in this case. For example, inheriting deprecation for |
Functions
| 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. |
| duplicate_feature_err | |
| new_index | |
| provide | |
| unnecessary_stable_feature_lint |