-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Change error count messages #42150
Change error count messages #42150
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Mark-Simulacrum (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
@bors r+ rollup |
📌 Commit 2aa69f3 has been approved by |
⌛ Testing commit 2aa69f3 with merge a90475c... |
💔 Test failed - status-travis |
src/librustc_errors/lib.rs
Outdated
_ => { | ||
s = format!("aborting due to {} previous errors", self.err_count.get()); | ||
s = format!("aborting due to previous error(s)".to_string); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The call to to_string
should just be removed (or made into a call and the format!
removed.
74453cd
to
82a04d7
Compare
f530838
to
800d73b
Compare
Looks like you need to update the UI tests:
There's some command that updates the tests automatically, but I don't remember what it is. @Mark-Simulacrum do you remember how to run it? |
@arielb1 I was wondering if there's a command, the ones I already updated I used |
800d73b
to
25099b7
Compare
Wasn't able to find or get someone to answer me about the potential script, but looks like Travis failed with on |
25099b7
to
89468b3
Compare
@Mark-Simulacrum Yes, I fixed that already, that's the build that's currently running (I had a previous commit where I fixed almost all of the others, but this one slipped through). Fingers crossed this will finally be green. I just wish tests would run faster on my local machine, I feel bad always tying uo Travis. |
89468b3
to
4c84f7d
Compare
See rust-lang#33525 for details.
4c84f7d
to
5558c64
Compare
No problem! Just to check, in case you weren't aware, @bors r+ |
📌 Commit 5558c64 has been approved by |
…ages, r=Mark-Simulacrum Change error count messages See rust-lang#33525 for details. r? @Mark-Simulacrum
…ages, r=Mark-Simulacrum Change error count messages See rust-lang#33525 for details. r? @Mark-Simulacrum
…ages, r=Mark-Simulacrum Change error count messages See rust-lang#33525 for details. r? @Mark-Simulacrum
…ages, r=Mark-Simulacrum Change error count messages See rust-lang#33525 for details. r? @Mark-Simulacrum
…ages, r=Mark-Simulacrum Change error count messages See rust-lang#33525 for details. r? @Mark-Simulacrum
See #33525 for details. r? @Mark-Simulacrum