]> git.lizzy.rs Git - rust.git/commit
rustdoc: attempt full build for compile_fail test
authorTrevor Spiteri <tspiteri@ieee.org>
Thu, 30 Jan 2020 14:49:21 +0000 (15:49 +0100)
committerTrevor Spiteri <tspiteri@ieee.org>
Thu, 30 Jan 2020 14:49:29 +0000 (15:49 +0100)
commitaa046da61f8722dfe46204cb303dbc9d2b4cb32e
treefdc588a407951502d7182fe96a0b972e337cf985
parent3024c4e7396106eacedd7eb94d7b681b3e82f78a
rustdoc: attempt full build for compile_fail test

Some code fails when doing a full build but does not fail when only
emitting metadata. This commit makes sure compile_fail tests for such
code behave as expected, that is, the test succeeds because the
compilation fails.
src/librustdoc/test.rs