Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustc-serialize problem #228

Open
massimo79m opened this issue Nov 13, 2023 · 1 comment · May be fixed by #254
Open

rustc-serialize problem #228

massimo79m opened this issue Nov 13, 2023 · 1 comment · May be fixed by #254

Comments

@massimo79m
Copy link

massimo79m commented Nov 13, 2023

When i run cargo i get:

The package `rustc-serialize v0.3.24` currently triggers the following future incompatibility lints:
> warning: impl method assumes more implied bounds than the corresponding trait method
>     --> /Users/max/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.24/src/serialize.rs:1155:41
>      |
> 1155 |     fn decode<D: Decoder>(d: &mut D) -> Result<Cow<'static, T>, D::Error> {
>      |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this type to make the impl signature compatible: `Result<Cow<'a, T>, <D as serialize::Decoder>::Error>`
>      |
>      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
>      = note: for more information, see issue #105572 <https://github.com/rust-lang/rust/issues/105572>
>      = note: `#[allow(implied_bounds_entailment)]` on by default

@ArielAtMoneta
Copy link

The dependency chain leads to the eui48 crate. See the pull request in said crate, which has unfortunately not seen updates in 3 years. Thankfully, the solution is removing the feature containing the rustc-serialize dependency from the default features which may be a simple patch.

@desiderius desiderius linked a pull request Jul 8, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants