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

Tweak UI for warnings and errors #2480

Merged
merged 1 commit into from
Mar 17, 2016
Merged

Tweak UI for warnings and errors #2480

merged 1 commit into from
Mar 17, 2016

Conversation

alexcrichton
Copy link
Member

Right now Cargo prints out errors justified like all other status messages, but
this can look odd without coloration:

   error some error message

Instead, this commit changes both warnings and errors to use the same style of:

error: some error message
warning: some warning message

Additionally, warnings now only print out "warning" in yellow instead of the
entire message (like errors do)

@rust-highfive
Copy link

r? @wycats

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member Author

r? @brson

@rust-highfive rust-highfive assigned brson and unassigned wycats Mar 13, 2016
@brson
Copy link
Contributor

brson commented Mar 16, 2016

@bors r+

@bors
Copy link
Contributor

bors commented Mar 16, 2016

📌 Commit 30a7b88 has been approved by brson

@bors
Copy link
Contributor

bors commented Mar 17, 2016

⌛ Testing commit 30a7b88 with merge 4d65c9b...

@bors
Copy link
Contributor

bors commented Mar 17, 2016

💔 Test failed - cargo-linux-64

@alexcrichton
Copy link
Member Author

@bors: r+

@bors
Copy link
Contributor

bors commented Mar 17, 2016

📌 Commit 4dad102 has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Mar 17, 2016

⌛ Testing commit 4dad102 with merge 2744e0c...

@bors
Copy link
Contributor

bors commented Mar 17, 2016

💔 Test failed - cargo-mac-32

@alexcrichton
Copy link
Member Author

@bors: r=brson

@bors
Copy link
Contributor

bors commented Mar 17, 2016

📌 Commit c14da2f has been approved by brson

@bors
Copy link
Contributor

bors commented Mar 17, 2016

⌛ Testing commit c14da2f with merge 3569903...

Right now Cargo prints out errors justified like all other status messages, but
this can look odd without coloration:

```
   error some error message
```

Instead, this commit changes both warnings and errors to use the same style of:

```
error: some error message
warning: some warning message
```

Additionally, warnings now only print out "warning" in yellow instead of the
entire message (like errors do)
@alexcrichton
Copy link
Member Author

@bors: r+

@bors
Copy link
Contributor

bors commented Mar 17, 2016

📌 Commit 8b35fbd has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Mar 17, 2016

⌛ Testing commit 8b35fbd with merge 834b834...

bors added a commit that referenced this pull request Mar 17, 2016
Tweak UI for warnings and errors

Right now Cargo prints out errors justified like all other status messages, but
this can look odd without coloration:

```
   error some error message
```

Instead, this commit changes both warnings and errors to use the same style of:

```
error: some error message
warning: some warning message
```

Additionally, warnings now only print out "warning" in yellow instead of the
entire message (like errors do)
@bors
Copy link
Contributor

bors commented Mar 17, 2016

@bors bors merged commit 8b35fbd into rust-lang:master Mar 17, 2016
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.

5 participants