mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
dbd090c655
Implement builtin # syntax and use it for offset_of!(...) Add `builtin #` syntax to the parser, as well as a generic infrastructure to support both item and expression position builtin syntaxes. The PR also uses this infrastructure for the implementation of the `offset_of!` macro, added by #106934. cc `@petrochenkov` `@DrMeepster` cc #110680 `builtin #` tracking issue cc #106655 `offset_of!` tracking issue |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |