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

Minor refactoring/modernization/reintegration/enhancement of --pretty. #23017

Closed
wants to merge 11 commits into from

Conversation

eddyb
Copy link
Member

@eddyb eddyb commented Mar 4, 2015

TODO: explain the new options.
Adds -Z pretty-keep-going, -Z pretty-dump-dir=dir, --xpretty=typed,unsuffixed_literals and RUSTC_PRETTY_DUMP=mode,dir.
These features made #22501 possible and if/when they get into a nightly, we can apply it to all cargo crates ever, even if only to gather statistics.

r? @nrc @pnkfelix

-> Option<(PpMode, Option<UserIdentifiedItem>)> {
None
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

\o/

@nrc
Copy link
Member

nrc commented Mar 4, 2015

r+ on the driver refactoring. Afraid I don't know the pretty printing stuff well enough to comment, so r? @pnkfelix for that

@rust-highfive rust-highfive assigned pnkfelix and unassigned nrc Mar 4, 2015
@bors
Copy link
Contributor

bors commented Mar 4, 2015

☔ The latest upstream changes (presumably #22235) made this pull request unmergeable. Please resolve the merge conflicts.

@pnkfelix
Copy link
Member

(i'm going to be out until wedneday; but I will try to get to this then. sorry for the absurd delay; maybe you can rebase in the meantime @eddyb )

@steveklabnik
Copy link
Member

@eddyb @pnkfelix @nrc what's up with this PR? It's been a month.

(it's also no longer merge-able)

@nrc
Copy link
Member

nrc commented Apr 22, 2015

Either @pnkfelix or I should get this fixed up, rebased, and landed.

@pnkfelix - do you fancy doing that? What is the conclusion of the above discussion - are you happy now or are there still outstanding issues?

@eddyb
Copy link
Member Author

eddyb commented Apr 22, 2015

@nrc you would want to at least drop the last commit (there are better ways to handle this than env vars), and @alexcrichton changed pretty to do some I/O buffering at some point, that has to be reverted first.
Thanks for taking care of this, really appreciate it :).

@alexcrichton
Copy link
Member

Closing in favor of an upcoming rebase from @nrc or @pnkfelix!

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

Successfully merging this pull request may close these issues.

6 participants