diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-02-14 23:30:10 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-02-14 23:30:10 -0800 |
| commit | 6667f90292d87271204caeef451cf2a977a80fa4 (patch) | |
| tree | 79fcb80b5277959e731d4ee6f9383c85c8fba827 /src/rustllvm/RustWrapper.cpp | |
| parent | 3496e93d13590140242f862c905dc2d591d2e2ea (diff) | |
| download | rust-6667f90292d87271204caeef451cf2a977a80fa4.tar.gz rust-6667f90292d87271204caeef451cf2a977a80fa4.zip | |
Update rustdoc testing to test all code blocks
It's too easy to forget the `rust` tag to have a code example tested, and it's far more common to have testable code than untestable code. This alters rustdoc to have only two directives, `ignore` and `should_fail`. The `ignore` directive ignores the code block entirely, and the `should_fail` directive has been fixed to only fail the test if the code execution fails, not also compilation.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
