{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreidtqfg5rtvqeipgc2m4pxlntp7wsmwi2wawzcdr2g6vyctvbkivpe",
    "uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mj5kywont7i2"
  },
  "path": "/t/pre-rfc-btf-relocations/24161#post_8",
  "publishedAt": "2026-04-10T12:26:48.000Z",
  "site": "https://internals.rust-lang.org",
  "textContent": "vad:\n\n> I do agree that `offset_of!` on relocatable types/fields should fail to compile\n\nWhy? Can't it just compile down to emitting a relocation so that it evaluates to the correct offset?\n\nvad:\n\n> the only option for now seems to be treating them as not `Sized`\n\nI believe that would be sufficient for most use-cases.",
  "title": "[Pre-RFC] BTF relocations"
}