HomeFreeBSD

devel/rust-bindgen: Unbreak with rust-nightly

Description

devel/rust-bindgen: Unbreak with rust-nightly

error: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()

--> src/codegen/error.rs:18:25
 |

18 | write!(f, "{}", error::Error::description(self))

|                         ^^^^^^^^^^^^^^^^^^^^^^^^^
|

note: lint level defined here

--> src/lib.rs:11:9
 |

11 | #![deny(warnings)]

|         ^^^^^^^^
= note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`

error: aborting due to previous error

Details

Provenance
tobikAuthored on
Parents
rP523915: - Update WWW
Branches
Unknown
Tags
Unknown