{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreif346erktregylc26idq35dglyateezfjcqbcae7wuigbct4ccnbi",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mmqxcgwknzb2"
},
"path": "/t/pre-rfc-improved-ergonomics-for/24336#post_18",
"publishedAt": "2026-05-26T10:28:52.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "MusicalNinjaDad:\n\n> But doing it in unreachable code does. (I just fixed the link to the second playground in my post above and tried it.)\n\nI've repeatedly found this rather annoying. I'd like to write some explicit syntax which proves \"I have an impossible value here, discard this branch\"; having that syntax itself be linted against defeats the purpose. I think ideally we should have something more explicit than `match val {}`; I could imagine a macro or std function such as `provably_unreachable` or `exfalso` or so. But the most important part is that we can write it without the lint getting in the way.",
"title": "Pre-RFC improved ergonomics for `!`"
}