Skip to content

Support Question Mark Operator in Control Flow Highlighting #18147

@CryZe

Description

@CryZe

rust-analyzer can nicely highlight which control flow relevant pieces of the code relate to each other, such as shown here:

Image

This currently does not extend to the question mark operator:

Image

However, while writing this issue, I did notice that it actually works perfectly fine already if you are on the fn itself:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-featureCategory: feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions