diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-06-19 23:11:18 +1000 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-06-19 23:11:18 +1000 |
| commit | 11bdeea76734e1c756246373db23d5db29632ce8 (patch) | |
| tree | e368926ba64ac1d64a7b56900820283ea007bef1 /src/test/compile-fail/precise-refutable-pattern-errors.rs | |
| parent | a17b0421d35af1609184ce83e05b211d779958f0 (diff) | |
| download | rust-11bdeea76734e1c756246373db23d5db29632ce8.tar.gz rust-11bdeea76734e1c756246373db23d5db29632ce8.zip | |
rustdoc: add the ability to run tests with --test.
This adds the `test_harness` directive that runs a code block using the test runner, to allow for `#[test]` items to be demonstrated and still tested (currently they are just stripped and not even compiled, let alone run).
Diffstat (limited to 'src/test/compile-fail/precise-refutable-pattern-errors.rs')
0 files changed, 0 insertions, 0 deletions
