Skip to content

regression of derive detection in rust 1.51.0 #10851

Closed

Description

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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