]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #32811 - alexcrichton:check-lints, r=nrc
authorbors <bors@rust-lang.org>
Tue, 12 Apr 2016 14:14:55 +0000 (07:14 -0700)
committerbors <bors@rust-lang.org>
Tue, 12 Apr 2016 14:14:55 +0000 (07:14 -0700)
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

1  2 
src/librustc_driver/driver.rs
src/librustc_typeck/diagnostics.rs

Simple merge
Simple merge