{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreidbyo4dqm26kn4z2ovu7jf3v5kepzdasulgkyrenkvk6oyypxxfje",
    "uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mmjtmbcfriy2"
  },
  "path": "/t/another-experiment-to-make-unsafe-rust-safer-preventing-ub-in-maybeuninit-with-compile-time-error/24352#post_12",
  "publishedAt": "2026-05-23T15:56:47.000Z",
  "site": "https://internals.rust-lang.org",
  "textContent": "Yeah, I'm still thinking about this :]. The last one was about aliasing UB, refined from previous feedback. Could you recheck it?\n\nFor now, I'm also trying to catch compile time errors for other UB sources, like std::ptr::copy_nonoverlapping aka memcpy, std::mem::transmute, etc just to collect them first. If that goes well, I'll introduce it\n\nWhat are some other sources of UB in unsafe Rust? I want to experiment with more common UB mistakes, but I'm not sure what else is out there",
  "title": "Another Experiment To Make Unsafe Rust Safer: Preventing UB In MaybeUninit With Compile Time Error"
}