-
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
rustdoc: Fix testing no_run code blocks #32811
Conversation
This is small enough that we may be able to sneak it into beta as well, preventing the regression altogether! |
makes sense to me... but ideally @nrc would give his take |
73090bf
to
b8526d7
Compare
Looks like I had to also ignore a test due to #32445 as it crashes rustdoc now |
@bors: r+ |
📌 Commit b8526d7 has been approved by |
This was a regression introduced by rust-lang#31250 where the compiler deferred returning the results of compilation a little too late (after the `Stop` check was looked at). This commit alters the stop point to first try to return an erroneous `result` and only if it was successful return the sentinel `Err(0)`. Closes rust-lang#31576
⌛ Testing commit b8526d7 with merge 40a1a29... |
⛄ The build was interrupted to prioritize another pull request. |
⌛ Testing commit b8526d7 with merge 2467295... |
@bors r-
|
@bors r- force clean |
@bors clean |
homu seems really confused about this PR :/ |
@bors clean force |
@bors r=nrc hm, that failure wasn't due to this PR, though I could swear I saw it in the travis results. not sure what happened here. |
📌 Commit b8526d7 has been approved by |
@bors clean retry |
⌛ Testing commit b8526d7 with merge 43220a7... |
💔 Test failed - auto-win-msvc-32-opt |
@bors: retry On Sun, Apr 10, 2016 at 4:36 PM, bors notifications@github.com wrote:
|
⌛ Testing commit b8526d7 with merge 0ec0071... |
💔 Test failed - auto-linux-musl-64-opt |
This was a regression introduced by rust-lang#31250 where the compiler deferred returning the results of compilation a little too late (after the `Stop` check was looked at). This commit alters the stop point to first try to return an erroneous `result` and only if it was successful return the sentinel `Err(0)`. Closes rust-lang#31576
b8526d7
to
42bcb40
Compare
@bors: r=nrc |
📌 Commit 42bcb40 has been approved by |
rustdoc: Fix testing no_run code blocks This was a regression introduced by #31250 where the compiler deferred returning the results of compilation a little too late (after the `Stop` check was looked at). This commit alters the stop point to first try to return an erroneous `result` and only if it was successful return the sentinel `Err(0)`. Closes #31576
This was a regression introduced by #31250 where the compiler deferred returning
the results of compilation a little too late (after the
Stop
check was lookedat). This commit alters the stop point to first try to return an erroneous
result
and only if it was successful return the sentinelErr(0)
.Closes #31576