Skip to content

Long error diagnostics should not show compiletest/highlighting metadata in text mode #33405

Description

@Manishearth

e.g.

$ rustc --explain E0413
A declaration shadows an enum variant or unit-like struct in scope. Example of
erroneous code:

```compile_fail
struct Foo;
...

Stuff like ````compile_fail` shouldn't show, just the backticks.

cc @GuillaumeGomez @steveklabnik

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

    A-diagnosticsArea: Messages for errors, warnings, and lints

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions