/[ports]
ViewVC logotype

Revision 520311


Jump to revision: Previous Next
Author: tobik
Date: Tue Dec 17 07:04:02 2019 UTC (4 years, 6 months ago)
Changed paths: 2
Log Message:
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


Changed paths

Path Details
Directoryhead/devel/racerd/files/ added
Directoryhead/devel/racerd/files/patch-rust-1.40.0
(Copied from head/sysutils/flowgger/files/patch-rust-1.40.0, r520309)
added

  ViewVC Help
Powered by ViewVC 1.1.27