HomeFreeBSD

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

Description

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

error[E0713]: borrow may still be in use when destructor runs

--> .../cargo-crates/url-1.5.1/src/form_urlencoded.rs:251:40
 |

249 | impl<'a> Target for ::UrlQuery<'a> {

|      -- lifetime `'a` defined here

250 | fn as_mut_string(&mut self) -> &mut String { &mut self.url.serialization }
251 | fn finish(self) -> &'a mut ::Url { self.url }

|                                        ^^^^^^^^ - here, drop of `self` needs exclusive access to `*self.url`, because the type `UrlQuery<'_>` implements the `Drop` trait
|                                        |
|                                        returning this value requires that `*self.url` is borrowed for `'a`

error: aborting due to previous error

Details

Provenance
tobikAuthored on
Parents
rP520310: Remove unneeded dependencies
Branches
Unknown
Tags
Unknown