rust/compiler/rustc_middle/src
Matthias Krüger cb140dcb00
Rollup merge of #131473 - workingjubilee:move-that-abi-up, r=saethlin
compiler: `{TyAnd,}Layout` comes home

The `Layout` and `TyAndLayout` types are heavily abstract and have no particular target-specific qualities, though we do use them to answer questions particular to targets. We can keep it that way if we simply move them out of `rustc_target` and into `rustc_abi`. They bring a small entourage of connected types with them, but that's fine.

This will allow us to strengthen a few abstraction barriers over time and thus make the notoriously gnarly layout code easier to refactor. For now, we don't need to worry about that and deliberately use reexports to minimize this particular diff.
2024-10-14 06:04:28 +02:00
..
dep_graph Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
hir rm ItemKind::OpaqueTy 2024-10-04 23:28:22 +00:00
hooks Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
infer Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
middle Simplify bound var resolution. 2024-10-04 23:44:27 +00:00
mir mark InterpResult as must_use 2024-10-12 13:13:50 +02:00
query Simplify bound var resolution. 2024-10-04 23:44:27 +00:00
thir various fixes for naked_asm! implementation 2024-10-06 19:00:09 +02:00
traits Compiler: Rename "object safe" to "dyn compatible" 2024-09-25 13:26:48 +02:00
ty Rollup merge of #131473 - workingjubilee:move-that-abi-up, r=saethlin 2024-10-14 06:04:28 +02:00
util Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
arena.rs Compiler: Rename "object safe" to "dyn compatible" 2024-09-25 13:26:48 +02:00
error.rs Use bool in favor of Option<()> for diagnostics 2024-08-21 01:31:11 -04:00
lib.rs Stabilize const_option 2024-10-12 17:07:13 -04:00
lint.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
macros.rs Improve const traits diagnostics for new desugaring 2024-10-02 19:45:17 +08:00
metadata.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
tests.rs Give an item related to issue 27438 a more meaningful name 2024-04-30 22:27:19 +02:00
thir.rs various fixes for naked_asm! implementation 2024-10-06 19:00:09 +02:00
values.rs only query params_in_repr if def kind is adt 2024-10-02 17:36:31 +08:00