summaryrefslogtreecommitdiff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-04-22 00:10:44 +0000
committerbors <bors@rust-lang.org>2023-04-22 00:10:44 +0000
commit80a2ec49a4ffb7a351c41c8db14711297324b587 (patch)
tree32a089a87caf1bc9e30b08dcf2ce8d8e50bfc73a /tests/rustdoc-js-std/parser-errors.js
parent0fd50f3e019dddc47d1d6dbe35c4c1542098d9c5 (diff)
parent99abe44135e84de2029186384c3ffbd1ad860cca (diff)
downloadrust-80a2ec49a4ffb7a351c41c8db14711297324b587.tar.gz
Auto merge of #106934 - DrMeepster:offset_of, r=WaffleLapkin
Add offset_of! macro (RFC 3308) Implements https://github.com/rust-lang/rfcs/pull/3308 (tracking issue #106655) by adding the built in macro `core::mem::offset_of`. Two of the future possibilities are also implemented: * Nested field accesses (without array indexing) * DST support (for `Sized` fields) I wrote this a few months ago, before the RFC merged. Now that it's merged, I decided to rebase and finish it. cc `@thomcc` (RFC author)
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions