rust/library/core
bors a11235d1bf Auto merge of #111696 - lukas-code:offset-of-erase-regions-harder, r=compiler-errors
don't skip inference for type in `offset_of!`

Fixes https://github.com/rust-lang/rust/issues/111678 by no longer skipping inference on the type in `offset_of!`. Simply erasing the regions the during writeback isn't enough and can cause ICEs. A test case for this is included.

This reverts https://github.com/rust-lang/rust/pull/111661, because it becomes redundant, since inference already erases the regions.
2023-05-21 04:02:46 +00:00
..
benches Rollup merge of #108291 - chenyukang:yukang/fix-benchmarks, r=workingjubilee 2023-05-15 17:12:43 +02:00
primitive_docs Add primitive documentation to libcore 2021-09-12 02:23:08 +00:00
src Auto merge of #111646 - Voultapher:restore-branchless-code-gen-for-merge, r=cuviper 2023-05-20 21:52:10 +00:00
tests don't skip inference for type in offset_of! 2023-05-20 15:20:27 +02:00
Cargo.toml Update rand in the stdlib tests, and remove the getrandom feature from it 2023-01-04 14:52:41 -08:00