Skip to content

Only subset of errors printed #40067

Closed
Closed

Description

When trying to add a gate test for #40025 I saw that rustc only prints a subset of errors. See this example to reproduce. It only prints you two errors, while it should print 4. If you comment out the FOO and BAR parts, it will print the other two, but never all errors the same time.

I've worked around this issue in #40025 by using revisions, but that's not a really nice solution.

If this is done to not overwhelm users with a wall of text or something (which is clearly not working well here, 4 errors are nothing bad) then it should still be turned off for json output. Or at least some special flag should be added to print all errors, and it should be used for the rustc test suite runners.

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

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