Skip to content

regression of derive detection in rust 1.51.0 #10851

@jhgg

Description

@jhgg

in 91bbc55 - the mechanism for detecting a derive macro has changed, in such a way that only works on rust 1.52+ (probably because of rust-lang/rust#79078)

Here we can see that it cannot find the implementation for Default (either in the code lens, "0 implementations", and in the unresolvedReference scope in Foo::default()

image

unfortunately at work we are currently on a nightly on 1.51.0... so this causing a lot of broken analysis. :( took this opportunity to update us to a more recent nightly.

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