-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Remove outdated syntax from trait alias pretty printing #105370
Conversation
r? @cjgillot (rustbot has picked a reviewer for you, use r? to override) |
Test to check changes? |
The pretty printer is not user visible on stable and won't ever be afaik. We only test a few pretty printer things, most are entirely untested and I don't know if it is helpful to increase test coverage for this debugging aid. |
There exist https://github.com/rust-lang/rust/tree/master/src/test/pretty, but yes, probably not so necessary. |
…iaskrgr Rollup of 9 pull requests Successful merges: - rust-lang#104898 (Put all cached values into a central struct instead of just the stable hash) - rust-lang#105004 (Fix `emit_unused_delims_expr` ICE) - rust-lang#105174 (Suggest removing struct field from destructive binding only in shorthand scenario) - rust-lang#105250 (Replace usage of `ResumeTy` in async lowering with `Context`) - rust-lang#105286 (Add -Z maximal-hir-to-mir-coverage flag) - rust-lang#105320 (rustdoc: simplify CSS selectors on top-doc and non-exhaustive toggles) - rust-lang#105349 (Point at args in associated const fn pointers) - rust-lang#105362 (Cleanup macro-expanded code in `rustc_type_ir`) - rust-lang#105370 (Remove outdated syntax from trait alias pretty printing) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Given the following program:
Old output of
rustc +nightly ./t.rs -Zunpretty=normal
:New output of
rustc +a ./t.rs -Zunpretty=normal
:cc @durka (you've written the
FIXME
in #45047, see #45047 (comment))