rustc_attr_parsing::attributes

Module util

Source

Enums§

Functions§

  • Parse a rustc version number written inside string literal in an attribute, like appears in since = "1.0.0". Suffixes like “-dev” and “-nightly” are not accepted in this position, unlike when parsing CFG_RELEASE.