-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Move diagnostics out from QueryJob and optimize for the case with no diagnostics #57113
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
Conversation
@bors try |
⌛ Trying commit a872c4f1ca4490a342beb6a569dffcac1aea57a4 with merge 203d99c0ed5ec7c17b4cab82a3995a30de4903ce... |
☀️ Test successful - status-travis |
@rust-timer build 203d99c0ed5ec7c17b4cab82a3995a30de4903ce |
Success: Queued 203d99c0ed5ec7c17b4cab82a3995a30de4903ce with parent ad781a0, comparison URL. |
Finished benchmarking try commit 203d99c0ed5ec7c17b4cab82a3995a30de4903ce |
|
||
// Extract the diagnostic from the job | ||
let diagnostics = mem::replace(&mut *self.job.diagnostics.lock(), Vec::new()); |
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.
Note: Another lock gone here too.
Thanks, @Zoxc! r=me with the conflicts resolved. |
@bors r=michaelwoerister |
📌 Commit a872c4f1ca4490a342beb6a569dffcac1aea57a4 has been approved by |
☔ The latest upstream changes (presumably #57095) made this pull request unmergeable. Please resolve the merge conflicts. |
Your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem. Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
@bors r=michaelwoerister |
📌 Commit f21c084 has been approved by |
⌛ Testing commit f21c084 with merge 0ffb6b65c87e9c6b588512508bcab13a82c7da5f... |
💔 Test failed - status-appveyor |
@bors retry |
Move diagnostics out from QueryJob and optimize for the case with no diagnostics r? @michaelwoerister
Rollup of 4 pull requests Successful merges: - #56874 (Simplify foreign type rendering.) - #57113 (Move diagnostics out from QueryJob and optimize for the case with no diagnostics) - #57366 (Point at match discriminant on type error in match arm pattern) - #57538 (librustc_mir: Fix ICE with slice patterns) Failed merges: - #57381 (Tweak output of type mismatch between "then" and `else` `if` arms) r? @ghost
r? @michaelwoerister