diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2016-04-07 16:47:12 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2016-04-11 09:26:59 -0700 |
| commit | 42bcb4047d724b91b9026ac871cfe24f2e831f14 (patch) | |
| tree | 4bb3a22b654eb6af65a970eac943f423a4dd9c2f /src/libsyntax/errors | |
| parent | 470ca1c3ff33cd046f71a5453f8f520da4cd387e (diff) | |
| download | rust-42bcb4047d724b91b9026ac871cfe24f2e831f14.tar.gz rust-42bcb4047d724b91b9026ac871cfe24f2e831f14.zip | |
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
Diffstat (limited to 'src/libsyntax/errors')
0 files changed, 0 insertions, 0 deletions
