about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-02-11 15:08:30 +0000
committerbors <bors@rust-lang.org>2023-02-11 15:08:30 +0000
commit8dabf5da9e0318f8c324dc224ad49dc91472c2ec (patch)
tree0a9bc43bba1ce13b519e1ee3bed52fae5dd9865c /compiler/rustc_resolve/src
parent5b450244876154bc1bd134694398e80c12e00b5c (diff)
parent6fcf1758feb63c7c70a40241f0ac8931a3ba46a9 (diff)
downloadrust-8dabf5da9e0318f8c324dc224ad49dc91472c2ec.tar.gz
rust-8dabf5da9e0318f8c324dc224ad49dc91472c2ec.zip
Auto merge of #107167 - the8472:rawvec-simpler-layout, r=thomcc
simplify layout calculations in rawvec

The use of `Layout::array` was introduced in #83706 which lead to a [perf regression](https://github.com/rust-lang/rust/pull/83706#issuecomment-1048377719).

This PR basically reverts that change since rust currently only supports stride == size types, but to be on the safe side it leaves a const-assert there to make sure this gets caught if those assumptions ever change.
Diffstat (limited to 'compiler/rustc_resolve/src')
0 files changed, 0 insertions, 0 deletions