rust/compiler/rustc_middle/src
Matthias Krüger eaca729e0b
Rollup merge of #124492 - Strophox:adjust-allocbytes, r=RalfJung
Generalize `adjust_from_tcx` for `Allocation`

Previously, `adjust_from_tcx` would take an `Allocation` and "adjust allocation from the ones in `tcx` to a custom Machine instance [...]".
This PR generalizes this so the Machine instance can also determine the `Bytes` type of the output `Allocation`.

r? `@RalfJung`
2024-05-03 15:26:09 +02:00
..
dep_graph Use a dyn Debug trait object instead of a closure. 2024-03-27 10:59:18 +00:00
hir Remove extern crate rustc_macros from rustc_middle. 2024-04-29 11:19:16 +10:00
hooks Rollup merge of #124016 - DaniPopes:dedup-default-providers, r=lcnr 2024-04-16 21:41:26 +02:00
infer Remove extern crate rustc_macros from rustc_middle. 2024-04-29 11:19:16 +10:00
middle Remove extern crate bitflags from a couple of crates. 2024-04-29 18:47:54 +10:00
mir remove trait bounds on AllocBytes 2024-05-03 15:00:37 +02:00
query Give items related to issue 33140 a more meaningful name 2024-04-30 22:27:19 +02:00
thir Track mutability of deref patterns 2024-04-20 15:59:54 +02:00
traits Rollup merge of #124511 - nnethercote:rm-extern-crates, r=fee1-dead 2024-04-30 15:04:08 +02:00
ty Rollup merge of #124610 - nnethercote:typenum, r=lcnr 2024-05-03 06:04:22 +02:00
util remove some ancient debug output, looks unused? 2024-04-13 11:30:48 +03:00
arena.rs Actually create ranged int types in the type system. 2024-04-08 12:02:19 +00:00
error.rs Remove extern crate rustc_macros from rustc_middle. 2024-04-29 11:19:16 +10:00
lib.rs Step bootstrap cfgs 2024-05-01 22:19:11 -04:00
lint.rs Remove extern crate rustc_macros from rustc_middle. 2024-04-29 11:19:16 +10:00
macros.rs Remove unnecessary braces from span_bug 2024-03-21 11:24:24 -04:00
metadata.rs Remove extern crate rustc_macros from rustc_middle. 2024-04-29 11:19:16 +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 Remove extern crate rustc_data_structures from numerous crates. 2024-04-29 18:45:14 +10:00
values.rs make Representability::Infinite carry ErrorGuaranteed 2024-03-14 20:52:13 +01:00