-
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
HIR printing of existential type
is broken
#60662
Comments
Hi, I will like to work on this issue. |
awesome! Most likely all that is required is to remove rust/src/librustc/hir/print.rs Line 649 in d58cb93
you can check if there's a test in If there is no such test, add such a test ;) |
I think I fixed this in one of my PRs, but not sure when it will merge, so go for it. :-) |
While adding test, I am getting following error message:
The existing test can be seen here: https://github.com/rust-lang/rust/pull/60694/files#diff-b122eeedc759d82eab86eafd6445ce8e |
you need to add |
Added that, many thanks! |
Fix HIR printing of existential type rust-lang#60662 This fixes rust-lang#60662
expanded with
rustc --edition 2018 -Z unpretty=hir
yieldswe should not print that extra
:
The text was updated successfully, but these errors were encountered: