about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-12-07 02:16:13 +0000
committerbors <bors@rust-lang.org>2015-12-07 02:16:13 +0000
commite819d8aa3cd2319fa57e7336e167069ef7002d6a (patch)
tree75670a56bca0942333b80fa08f6dbe1b5ba06c3f /src/rustllvm/RustWrapper.cpp
parent64c21f9ee2c6a7e6a530d4bb889676c296e1fe68 (diff)
parent0ca2a9e71a9d907b79c3ca296163d313dc3234eb (diff)
downloadrust-e819d8aa3cd2319fa57e7336e167069ef7002d6a.tar.gz
rust-e819d8aa3cd2319fa57e7336e167069ef7002d6a.zip
Auto merge of #30247 - bluss:revert-array-clone, r=alexcrichton
Revert "PR #30130 Implement `Clone` for more arrays"

This reverts commit e22a64e8d8d4da46c74f878ce1c23ad1c88982e8.

This caused a regression such that types like `[[u8; 256]; 4]`
no longer implemented Clone. This previously worked due to Clone
for `[T; N]` (N in 0 to 32) being implemented for T: Copy.

Due to fixed size arrays not implementing Clone for sizes above 32,
the new implementation requiring T: Clone would not allow
`[[u8; 256]; 4]` to be Clone.

Fixes #30244

Due to changing back, this is technically a [breaking-change],
albeit for a behavior that existed for a very short time.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions