diff options
Diffstat (limited to 'tests/rustdoc-ui/show-coverage-json.rs')
| -rw-r--r-- | tests/rustdoc-ui/show-coverage-json.rs | 13 | 
1 files changed, 13 insertions, 0 deletions
| diff --git a/tests/rustdoc-ui/show-coverage-json.rs b/tests/rustdoc-ui/show-coverage-json.rs new file mode 100644 index 00000000000..3851e34fe35 --- /dev/null +++ b/tests/rustdoc-ui/show-coverage-json.rs @@ -0,0 +1,13 @@ +//@ compile-flags: -Z unstable-options --show-coverage --output-format=json +//@ check-pass + +mod bar { + /// a + /// + /// ``` + /// let x = 0; + /// ``` + pub struct Foo; +} + +pub use bar::Foo; | 
