Skip to content

derivative crate: proc macro derivative not expanded #12607

Closed
@cyqsimon

Description

@cyqsimon
use derivative::Derivative;
#[derive(Derivative)]
#[derivative(Debug)]
struct Foo {}

error

cargo check and cargo build both pass.

rust-analyzer version: 427061d 2022-06-19

rustc version: I tested both rustc 1.61.0 (fe5b13d68 2022-05-18) & rustc 1.63.0-nightly (5750a6aa2 2022-06-20)


Possibly-related issue: #12582

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