Add UI regressions tests for rustdoc --show-coverage
option
This commit is contained in:
parent
e9161db5b5
commit
0eff07ee4e
4 changed files with 34 additions and 0 deletions
13
tests/rustdoc-ui/show-coverage.rs
Normal file
13
tests/rustdoc-ui/show-coverage.rs
Normal file
|
@ -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;
|
Loading…
Add table
Add a link
Reference in a new issue