rustc_
attr_
parsing
1.85.0-nightly
(426d17342 2024-12-21)
Module util
Module Items
Enums
Functions
In rustc_
attr_
parsing::
attributes
rustc_attr_parsing
::
attributes
Module
util
Copy item path
Source
Enums
§
Unsupported
Literal
Reason
🔒
Functions
§
find_
crate_
name
is_
builtin_
attr
parse_
version
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.