rust/compiler/rustc_middle/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
..
dep_graph Show a more informative panic message when DefPathHash does not exist 2022-01-19 17:36:44 -05:00
hir Make all hir::Map methods consistently by-value 2022-02-10 11:54:06 +01:00
infer Renumber universes when canonicalizing for Chalk 2022-02-11 21:38:17 +00:00
middle Auto merge of #93511 - cjgillot:query-copy, r=oli-obk 2022-02-10 09:37:07 +00:00
mir add tainted_by_errors to mir::Body 2022-02-11 12:45:51 -08:00
query use body.tainted_by_error to skip loading MIR 2022-02-11 12:45:51 -08:00
thir Remove deprecated LLVM-style inline assembly 2022-01-12 18:51:31 +01:00
traits Ensure that queries only return Copy types. 2022-02-09 20:07:38 +01:00
ty Auto merge of #93938 - BoxyUwU:fix_res_self_ty, r=lcnr 2022-02-14 12:26:43 +00:00
util Use AddAssign impl 2021-11-09 23:47:36 +01:00
arena.rs Ensure that queries only return Copy types. 2022-02-09 20:07:38 +01:00
lib.rs add a rustc::query_stability lint 2022-02-01 10:15:59 +01:00
lint.rs update FutureIncompatibilityReason 2022-02-01 09:55:19 +01:00
macros.rs Rename TypeFolderFallible to FallibleTypeFolder 2021-12-02 16:14:18 +00:00
metadata.rs rustc_middle: Rename Export to ModChild and add some comments 2022-01-09 09:22:07 +08:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
thir.rs Formally implement let chains 2022-01-18 19:38:17 -03:00