Skip to main content

Module features

Module features 

Source
Expand description

Tidy check to ensure that unstable features are all in order.

This check will ensure properties like:

  • All stability attributes look reasonably well formed.
  • The set of library features is disjoint from the set of language features.
  • Library features have at most one stability level.
  • Library features have at most one since value.
  • All unstable lang features have tests to ensure they are actually unstable.
  • Language features in a group are sorted by feature name.

ModulesΒ§

version πŸ”’

StructsΒ§

CollectedFeatures
Feature

EnumsΒ§

Status
Version

ConstantsΒ§

FEATURE_GROUP_END_PREFIX πŸ”’
FEATURE_GROUP_START_PREFIX πŸ”’

FunctionsΒ§

check
collect_env_vars
collect_lang_features
collect_lang_features_in πŸ”’
collect_lib_features
extract_lib_features πŸ”’
mf gets the feature or an error if it is invalid, the file path passed as file, and the attribute’s line number.
find_attr_val πŸ”’
format_features πŸ”’
get_and_check_lib_features πŸ”’
get_version_and_channel πŸ”’
map_lib_features πŸ”’
should_document πŸ”’
test_filen_gate πŸ”’

Type AliasesΒ§

Features