diff options
| author | bors <bors@rust-lang.org> | 2023-04-22 00:10:44 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-04-22 00:10:44 +0000 |
| commit | 86d8f1268ae0fbc07ca42233a0eac4668e2af724 (patch) | |
| tree | 7626ef8494f1499b3f121199e4e5080616f02d4a /tests/rustdoc-js-std/parser-errors.js | |
| parent | 84bab312abaf810a04eb2ef910b535b524c56c47 (diff) | |
| parent | 68c4776b4603f453d17b772e4598fee77c48dde8 (diff) | |
| download | rust-86d8f1268ae0fbc07ca42233a0eac4668e2af724.tar.gz rust-86d8f1268ae0fbc07ca42233a0eac4668e2af724.zip | |
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
