Skip to content

RA incorrectly denotes an error on an attribute macro where cargo run works without error #15489

Open

Description

RA incorrectly denotes an error on an attribute macro where cargo run works without error.

Screenshot from 2023-08-20 22-34-42

The code can be run with:

git clone https://github.com/JonathanWoollett-Light/log-instrument
cd log-instrument
git checkout 143de440ed2a3b1398efba8005813728cfc96dd2
cargo run --example three

Opening the log-instrument folder with VSCode with the RA extension enabled should highlight the attribute macro with this error incorrectly.

rust-analyzer version: rust-analyzer version: 0.3.1623-standalone

rustc version: rustc 1.73.0-nightly (6ef7d16be 2023-08-19)

relevant settings: None I'm aware of.

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

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions