about summary refs log tree commit diff
path: root/src/test/compile-fail/precise-refutable-pattern-errors.rs
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2014-06-19 23:11:18 +1000
committerHuon Wilson <dbau.pp+github@gmail.com>2014-06-19 23:11:18 +1000
commit11bdeea76734e1c756246373db23d5db29632ce8 (patch)
treee368926ba64ac1d64a7b56900820283ea007bef1 /src/test/compile-fail/precise-refutable-pattern-errors.rs
parenta17b0421d35af1609184ce83e05b211d779958f0 (diff)
downloadrust-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