rust/compiler/rustc_passes/src
bors 9556b56dbd Auto merge of #107753 - kylematsuda:type-of, r=BoxyUwU
Switch to `EarlyBinder` for `type_of` query

Part of the work to finish #105779 and implement https://github.com/rust-lang/types-team/issues/78.

Several queries `X` have a `bound_X` variant that wraps the output in `EarlyBinder`. This adds `EarlyBinder` to the return type of the `type_of` query and removes `bound_type_of`.

r? `@lcnr`
2023-02-17 04:45:15 +00:00
..
liveness Use iter::zip in compiler/ 2021-03-26 09:32:31 -07:00
check_attr.rs Auto merge of #107753 - kylematsuda:type-of, r=BoxyUwU 2023-02-17 04:45:15 +00:00
check_const.rs session: diagnostic migration lint on more fns 2023-01-30 17:11:35 +00:00
dead.rs remove bound_type_of query; make type_of return EarlyBinder; change type_of in metadata 2023-02-16 17:05:56 -07:00
debugger_visualizer.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
diagnostic_items.rs if $c:expr { Some($r:expr) } else { None } =>> $c.then(|| $r) 2023-02-16 15:26:00 +00:00
entry.rs Move compiler input and ouput paths into session 2023-01-16 14:46:44 +00:00
errors.rs Auto merge of #107257 - inquisitivecrystal:ffi-attr, r=davidtwco 2023-02-01 11:37:24 +00:00
hir_id_validator.rs Improve pretty-printing of HirIdValidator errors 2023-02-01 20:09:22 +01:00
hir_stats.rs Take a LocalDefId in hir::Visitor::visit_fn. 2023-01-28 09:51:50 +00:00
lang_items.rs Remove HirId -> LocalDefId map from HIR. 2023-01-28 09:55:26 +00:00
layout_test.rs remove bound_type_of query; make type_of return EarlyBinder; change type_of in metadata 2023-02-16 17:05:56 -07:00
lib_features.rs ast: Optimize list and value extraction primitives for attributes 2023-02-01 22:35:02 +04:00
lib.rs Lint against usages of struct_span_lint_hir. 2022-10-29 18:03:47 +08:00
liveness.rs Add of_trait to DefKind::Impl. 2023-02-14 19:55:44 +00:00
loops.rs Specify that break cannot be used outside of loop *or* labeled block 2022-11-05 01:12:58 +00:00
naked_functions.rs migrate naked_functions.rs to translateable diagnostics 2022-10-07 13:19:27 -06:00
reachable.rs Do not fetch HIR for reachable. 2023-02-14 20:26:01 +00:00
stability.rs Replace some thens with some then_somes 2023-02-16 15:26:03 +00:00
upvars.rs rustc_hir: Relax lifetime requirements on Visitor::visit_path 2022-12-01 17:04:02 +03:00
weak_lang_items.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00