Skip to content

serde::__private::de::Content::deserialize not found in Content<'_> in serde_derive v1.0.224 #2982

@ysaito1001

Description

@ysaito1001

After upgrading serde_derive to v1.0.224, our CI has started failing to compile the lambda_http v0.8.3

error[E0599]: no variant or associated item named `deserialize` found for enum `serde_core::__private::content::Content` in the current scope
  --> /opt/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lambda_http-0.8.3/src/deserializer.rs:11:60
   |
11 |         let content = match serde::__private::de::Content::deserialize(deserializer) {
   |                                                            ^^^^^^^^^^^ variant or associated item not found in `Content<'_>`

Pinning serde_derive to exactly =v1.0.219 helps work around the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions