Uh oh!
There was an error while loading. Please reload this page.
Minor refactoring/modernization/reintegration/enhancement of --pretty. - #23017
Closed
eddyb wants to merge 11 commits into
Closed
Minor refactoring/modernization/reintegration/enhancement of --pretty.#23017eddyb wants to merge 11 commits into
eddyb wants to merge 11 commits into
Conversation
nrc
commented
Mar 4, 2015
Member
r+ on the driver refactoring. Afraid I don't know the pretty printing stuff well enough to comment, so r? @pnkfelix for that |
… pretty-printing annotators.
… pretty_print_input.
… T)`, as the latter might compile some day.
…--xpretty=mode -Z pretty-keep-going -Z pretty-dump-dir=dir.
bors
commented
Mar 4, 2015
Collaborator
☔ The latest upstream changes (presumably #22235) made this pull request unmergeable. Please resolve the merge conflicts. |
pnkfelix
commented
Mar 13, 2015
Contributor
(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
commented
Apr 21, 2015
Contributor
nrc
commented
Apr 22, 2015
Member
eddyb
commented
Apr 22, 2015
ContributorAuthor
@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. |
alexcrichton
commented
May 1, 2015
Member
lnicola pushed a commit
to lnicola/rust
that referenced
this pull request
Aug 10, 2026
fix: allow diverging rhs in destructuring assignments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TODO: explain the new options.
Adds
-Z pretty-keep-going,-Z pretty-dump-dir=dir,--xpretty=typed,unsuffixed_literalsandRUSTC_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