-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Actually highlight the ? operator in rendered code #44706
Copy link
Copy link
Closed
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: 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.Relevant to the dev-tools subteam, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: 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.Relevant to the dev-tools subteam, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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:
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