Skip to content

Attribute proc-macro expansion issue #10498

Closed
@liuw

Description

@liuw

Commit 81891f7 enabled attribute proc macro by default (released in v0.2.768). That rendered rust-analyzer unusable in my case. Basically whenever I change something, the whole function is marked as problematic. Please see the two screenshots for comparison.

First screenshot shows the result when that option is enabled; second screenshot shows the result when the option is disabled.

In the second screenshot, rust-analyzer correctly points out that let x is problematic.

image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-macromacro expansion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions