Skip to content

Deserializing fails for JSON generated by rustdoc 1.70 #23

@GoldsteinE

Description

@GoldsteinE

Repro:

pub struct Foo;

impl Foo {
    pub fn bar(&self) {
        println!("test");
    }
}

Error:

unknown variant `decl`, expected one of `module`, `extern_crate`, `import`, `union`, `struct`, `struct_field`, `enum`, `variant`, `function`, `trait`, `trait_alias`, `impl`, `typedef`, `opaque_ty`, `constant`, `static`, `foreign_type`, `macro`, `proc_macro`, `primitive`, `assoc_const`, `assoc_type` at line 1 column 616

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions