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