Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upDon't assume color=always when explicitally specified #31550
Conversation
rust-highfive
assigned
alexcrichton
Feb 11, 2016
This comment has been minimized.
This comment has been minimized.
|
(rust_highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
|
r? @nrc |
rust-highfive
assigned
nrc
and unassigned
alexcrichton
Feb 11, 2016
This comment has been minimized.
This comment has been minimized.
|
Note: I haven't actually tested this change because rust takes an eternity to build on my poor old laptop. However, I don't expect it to fail (famous last words...). |
nrc
reviewed
Feb 11, 2016
src/librustc/session/config.rs
Outdated
|
|
||
| Some(arg) => { | ||
| early_error(ErrorOutputType::default(), &format!("argument for --error-format must \ | ||
| early_error(ErrorOutputType::HumanReadable(color), &format!("argument for --error-format must \ |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Stebalien
force-pushed the
Stebalien:fix-color
branch
from
5b79f0d
to
6b2ff77
Feb 11, 2016
nrc
reviewed
Feb 11, 2016
src/librustc/session/config.rs
Outdated
| early_error(ErrorOutputType::HumanReadable(color), | ||
| &format!("argument for --error-format must \ | ||
| be human or json (instead was \ | ||
| `{}`)", |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
r+ with the style nit addressed |
Stebalien
force-pushed the
Stebalien:fix-color
branch
from
6b2ff77
to
eea3332
Feb 11, 2016
Stebalien
force-pushed the
Stebalien:fix-color
branch
from
eea3332
to
03ef55b
Feb 11, 2016
This comment has been minimized.
This comment has been minimized.
|
@bors: r+ |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
Thanks for the quick fix @Stebalien! Nominating for backport as well |
alexcrichton
added
the
beta-nominated
label
Feb 11, 2016
This comment has been minimized.
This comment has been minimized.
|
Can we test this somehow to prevent future regressions? Maybe with a run-make test that greps for \x1b or something? |
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Feb 12, 2016
This comment has been minimized.
This comment has been minimized.
pnkfelix
added
the
E-needstest
label
Feb 12, 2016
This comment has been minimized.
This comment has been minimized.
bors
merged commit 03ef55b
into
rust-lang:master
Feb 12, 2016
bors
referenced this pull request
Feb 12, 2016
Merged
Make more use of autoderef throughout the compiler #31524
nikomatsakis
added
T-compiler
beta-accepted
labels
Feb 24, 2016
This comment has been minimized.
This comment has been minimized.
|
Accepting for beta since seems awfully minor. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
+1 |
alexcrichton
removed
the
beta-nominated
label
Feb 26, 2016
Sign up for free
to 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.
Stebalien commentedFeb 11, 2016
Fixes #31546