Skip to content

Add a fallback when attribute expansion returns a compile error #10611

Closed
@Diggsey

Description

@Diggsey

See #10520

Since attribute expansion was enabled by default it means that completion doesn't work anymore inside functions annotated with an attribute.

It would be useful if rust-analyzer could detect this case (where the attribute implementation fails to parse the code) and falls back to the old behaviour in that case.

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