Files
rust/compiler/rustc_hir/src
bors b321742c6c Auto merge of #93938 - BoxyUwU:fix_res_self_ty, r=lcnr
Make `Res::SelfTy` a struct variant and update docs

I found pattern matching on a `(Option<DefId>, Option<(DefId, bool)>)` to not be super readable, additionally the doc comments on the types in a tuple variant aren't visible anywhere at use sites as far as I can tell (using rust analyzer + vscode)

The docs incorrectly assumed that the `DefId` in `Option<(DefId, bool)>` would only ever be for an impl item and I also found the code examples to be somewhat unclear about which `DefId` was being talked about.

r? `@lcnr` since you reviewed the last PR changing these docs
2022-02-14 12:26:43 +00:00
..
2022-02-12 11:48:58 +00:00
2022-02-12 11:23:53 +00:00
2022-02-12 19:24:42 +11:00
2021-11-21 08:15:21 -06:00
2021-08-28 00:16:34 -07:00
2021-07-06 11:28:06 +02:00