Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only subset of errors printed #40067

Closed
est31 opened this issue Feb 23, 2017 · 1 comment
Closed

Only subset of errors printed #40067

est31 opened this issue Feb 23, 2017 · 1 comment

Comments

@est31
Copy link
Member

est31 commented Feb 23, 2017

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.

@Mark-Simulacrum
Copy link
Member

The example given prints 4 errors today so I guess this has been fixed? I don't really know. Closing though since at least this particular case seems fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants