Uh oh!
There was an error while loading. Please reload this page.
Implement Clone::clone_from for Option and Result - #61348
Conversation
rust-highfive
commented
May 30, 2019
r? @KodrAus (rust_highfive has picked a reviewer for you, use r? to override) |
Uh oh!
There was an error while loading. Please reload this page.
scottmcm
commented
Jun 1, 2019
These are still fully-structural |
m-ou-se
commented
Jun 1, 2019
There's been a few discussions on this. #27939 was closed because it would affect the compile times too much. Also, I think it might go wrong when there are multiple fields: If some fields are succesfully clone_from'd, but another panics, the object might be left in an invalid state. But it should be possible if there's only one field. |
Centril
commented
Jun 10, 2019
@bors try |
bors
commented
Jun 10, 2019
Implement Clone::clone_from for Option and Result See #28481
bors
commented
Jun 10, 2019
☀️ Try build successful - checks-travis |
Centril
commented
Jun 10, 2019
@rust-timer build 1406f73 |
rust-timer
commented
Jun 10, 2019
Success: Queued 1406f73 with parent 400b409, comparison URL. |
rust-timer
commented
Jun 10, 2019
Finished benchmarking try commit 1406f73, comparison URL. |
Centril
commented
Jun 10, 2019
Looks like noise. |
KodrAus
commented
Jun 11, 2019
bors
commented
Jun 11, 2019
📌 Commit 67fd995 has been approved by |
…odrAus Implement Clone::clone_from for Option and Result See rust-lang#28481
Rollup of 9 pull requests Successful merges: - #60187 (Generator optimization: Overlap locals that never have storage live at the same time) - #61348 (Implement Clone::clone_from for Option and Result) - #61568 (Use Symbol, Span in libfmt_macros) - #61632 (ci: Collect CPU usage statistics on Azure) - #61654 (use pattern matching for slices destructuring) - #61671 (implement nth_back for Range(Inclusive)) - #61688 (is_fp and is_floating_point do the same thing, remove the former) - #61705 (Pass cflags rather than cxxflags to LLVM as CMAKE_C_FLAGS) - #61734 (Migrate rust-by-example to MdBook2) Failed merges: r? @ghost
See #28481