{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreihsjbddrdrb63bu7izvswwjdy737nfy765sykac4ql6n45dggcff4",
    "uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mhh4zbqqdta2"
  },
  "path": "/t/extending-alignment-to-any-constant-evaluable-expression/24101#post_4",
  "publishedAt": "2026-03-19T07:00:51.000Z",
  "site": "https://internals.rust-lang.org",
  "textContent": "I don't see any problems there. The compiler already has to handle self-reference. For example, the following code already produces a normal(ish) compiler error:\n\n\n    struct Thing {\n        field: [u8; size_of::<Thing>()],\n    }\n",
  "title": "Extending alignment to any constant-evaluable expression"
}