{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreia3wns5houwqlhm242vl2x5ckjmwbyt524c3dspkhxy2bop6tn7hm",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mgapryok2rr2"
},
"path": "/t/f-pattern-types-subsets-enums-using-as/24048?page=2#post_21",
"publishedAt": "2026-03-04T16:07:55.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "DragonDev1906:\n\n> That's mostly a question of whether you want to allow getting a `&mut MyError` from a `MyErrorSubset` or `&mut MyErrorSubset`, right?\n\nEven whether you can get a `&MyError`, since that needs to be `dereferencable` for the full size of the enum.",
"title": "F-pattern_types : Subsets enums using as"
}