HomeFreeBSD

devel/pijul: Unbreak build with Rust 1.40.0 (D22843)

Description

devel/pijul: Unbreak build with Rust 1.40.0 (D22843)

error[E0382]: assign to part of moved value: newkeys

--> .../cargo-crates/thrussh-0.20.7/src/client/connection.rs:550:13
 |

539 | let mut newkeys = kexdhdone.compute_keys(

|                 ----------- move occurs because `newkeys` has type `session::NewKeys`, which does not implement the `Copy` trait

...
549 | session.0.kex = Some(Kex::NewKeys(newkeys));

|                                               ------- value moved here

550 | newkeys.sent = true;

|             ^^^^^^^^^^^^^^^^^^^ value partially assigned here after move

error: aborting due to previous error

Details

Provenance
tobikAuthored on
Parents
rP520316: Fix a typo in startup script.
Branches
Unknown
Tags
Unknown