-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Pretty-printer incorrectly outputs type items with where clauses #25031
Labels
A-pretty
Area: Pretty printing (including `-Z unpretty`)
Comments
basically the PR that added the syntax |
It still may, as it isn't merged yet, but I have no idea how to do that. 😃 |
Sorry, I misread your comment, you weren't talking about my PR. |
pnkfelix
added a commit
to pnkfelix/rust
that referenced
this issue
May 4, 2015
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
May 5, 2015
…ith-where, r=alexcrichton Correct pretty-printing of `type Foo<T> where T: Bound = ...;` Fix rust-lang#25031
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So I wrote a regression test for a certain error and it held up the rollup PR (see #24979) because while my test passed the
run-pass
it failed during thepretty
pass. The problem is that the prettifier (compiling with-Z unstable-options --pretty=expanded
) transforms the original code example from #22471into
which upon compilation leads to the following error:
This seems to indicate a bug in the prettifier as (seemingly) valid code is transformed into non-compiling one.
The text was updated successfully, but these errors were encountered: