Skip to content

long diagnostics not registered for some internal crates #35284

Closed
@zackmdavis

Description

@zackmdavis

In the comments on #32777, @jhod0 writes:

I looked into it more, and it looks like the following libraries' long error messages are not properly registered:

  • libsyntax
  • librustc_passes
  • librustc_plugin
    • However, the register_long_diagnostics! declaration in librustc_plugin is empty
  • librustc_mir
  • librustc_lint
  • librustc_metadata

i.e. running the following for any errno in the above libraries will fail:

$ rustc --explain <errno>
error: no extended information for <errno>

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