-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
There are very few tests for -Z unpretty expansion #23616
Comments
I'm going to be adding |
at least expanded is unstable, yeah? |
Unfortunately I think that this is just a fundamental limitation. We have a number of problems that make it such that expanded source cannot actually compile at all:
I would also be fine just assuming that tests cannot be pretty printed when expected unless there is an explicit opt-in directive. |
Perhaps I will switch compiletest to support |
can we just disable the pretty-printing tests for the beta branch or something like that? |
(Does that make sense?) |
Triage: not aware of any specific issue here, though I haven't heard about anyone running into this in practice in the last year. |
Triage: lots of FIXMEs referring to this issue still remain. |
Ran into this while looking at the compiletest framework and was thoroughly confused. As far as I can tell, this is the situation as of early 2019: Certain parts of the Rust test suite can be run in “pretty” mode. This will test the pretty-printing output of I think it was a mistake to replace |
See #23616 (comment) for a current issue description. The original description follows below.
Pretty-expanded source that results in unstable code can't build. After it becomes illegal to not declare features this is going to cause a bunch of expanded source to not build.
The text was updated successfully, but these errors were encountered: