1
Fork 0
rust/compiler/rustc_ty_utils/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
..
abi.rs Introduce deduced parameter attributes, and use them for deducing readonly on 2022-10-21 02:33:15 -07:00
assoc.rs Rename some OwnerId fields. 2022-10-29 20:28:38 +11:00
common_traits.rs Change InferCtxtBuilder from enter to build 2022-10-07 07:10:40 -05:00
consts.rs Use const_error_with_guaranteed more 2022-11-10 05:39:15 +00:00
errors.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
implied_bounds.rs RPITIT placeholder items 2022-09-09 01:31:44 +00:00
instance.rs Avoid GenFuture shim when compiling async constructs 2022-11-24 10:04:27 +01:00
layout.rs move things from rustc_target::abi to rustc_abi 2022-11-24 16:26:13 +03:30
layout_sanity_check.rs move things from rustc_target::abi to rustc_abi 2022-11-24 16:26:13 +03:30
lib.rs Rewrite representability 2022-10-07 09:33:46 -05:00
needs_drop.rs Accept TyCtxt instead of TyCtxtAt in Ty::is_* functions 2022-10-27 15:06:08 +04:00
representability.rs Rewrite representability 2022-10-07 09:33:46 -05:00
ty.rs Stop passing the self-type as a separate argument. 2022-11-21 20:39:46 +00:00