I have VSCode theme that puts operators in bold. A closure in my code written as |chunk| has an inferred argument type of Result<Bytes, Error>, rendered in my editor as an inlay hint. Correct behavior would be to render the |'s in bold but not anything in between them. Instead, I get a (correctly) regularly-styled chunk but a bold : Result<Bytes, Error>| following it.
The type renders correctly (i.e. not in bold) if I write it out explicitly rather than having it filled in as an inlay hint. So this seems to be an issue particular to inlays, and not a problem with any of the patterns in rust.tmGrammar.json.