rust/compiler/rustc_traits/src
bors b3bc6bf312 Auto merge of #103693 - HKalbasi:master, r=oli-obk
Make rustc_target usable outside of rustc

I'm working on showing type size in rust-analyzer (https://github.com/rust-lang/rust-analyzer/pull/13490) and I currently copied rustc code inside rust-analyzer, which works, but is bad. With this change, I would become able to use `rustc_target` and `rustc_index` directly in r-a, reducing the amount of copy needed.

This PR contains some feature flag to put nightly features behind them to make crates buildable on the stable compiler + makes layout related types generic over index type + removes interning of nested layouts.
2022-11-24 20:29:13 +00:00
..
chalk Auto merge of #103693 - HKalbasi:master, r=oli-obk 2022-11-24 20:29:13 +00:00
dropck_outlives.rs make dropck_outlives into a proper canonicalized type query 2022-11-09 22:58:39 +00:00
evaluate_obligation.rs Convert predicates into Predicate in the Obligation constructor 2022-11-16 09:25:19 +00:00
implied_outlives_bounds.rs Pass ObligationCtxt from enter_canonical_trait_query and use ObligationCtxt API 2022-11-23 09:36:03 -03:00
lib.rs (almost) Always use ObligationCtxt when dealing with canonical queries 2022-10-27 15:43:33 +00:00
normalize_erasing_regions.rs Add an always-ambiguous predicate to make sure that we don't accidentlally allow trait resolution to prove false things during coherence 2022-11-21 16:35:04 +00:00
normalize_projection_ty.rs (almost) Always use ObligationCtxt when dealing with canonical queries 2022-10-27 15:43:33 +00:00
type_op.rs Convert predicates into Predicate in the Obligation constructor 2022-11-16 09:25:19 +00:00