Skip to content

Actually highlight the ? operator in rendered code #44706

Closed
@est31

Description

@est31

About one year after the ? operator was stabilized with the promise that it will get highlighting when being rendered, work on getting hightlighting of ? into text editors and renderers has stalled.

I've done work on this for rustdoc in #37102. For (current, non rewritten) rustdoc, it looks like this:

image

But I've found a couple of places where there is still no highlighting:

If you stumble across additional cases, please mention them here!

I know these projects are separate from Rust itself, but its important to get ? highlighted consistently so that it can't be overlooked.

cc @Stebalien @eddyb @GuillaumeGomez

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions