diff options
author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2023-05-09 12:33:45 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-09 12:33:45 +0530 |
commit | dbd090c655b4a4389fe51cbd3ad6f401e2953dbe (patch) | |
tree | 6de355c93e791dc65923c0cf69e80c267a799e33 /tests/rustdoc-js-std/parser-errors.js | |
parent | ff30b8cb7bcf3eaee7a5222c8ec35adba4a0d243 (diff) | |
parent | 83b4df4e611961373ffaf4bfcd9f8940a4f37c09 (diff) | |
download | rust-dbd090c655b4a4389fe51cbd3ad6f401e2953dbe.tar.gz |
Rollup merge of #110694 - est31:builtin, r=petrochenkov
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
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions