pub fn parse_version(s: Symbol) -> Option<RustcVersion>
Expand description
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.