Skip to content

Some rustdoc diagnostic colors are missing #6045

Description

@ehuss

As of #5995, some error messages from rustdoc are no longer getting colored.

Example code:

/// [BadLink]
/// ```
/// \
/// ```
pub fn f() {}

The result I get on nightly:
image

The result of cargo just before #5995:
image

Notice that the warning emitted by rustdoc is still colored, but the error: unknown start of token line caused by the backslash is not! So strange!

Tested on Windows and Mac.

cc @kennytm

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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