Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
13
tests/rustdoc-ui/coverage/doc-examples-json.rs
Normal file
13
tests/rustdoc-ui/coverage/doc-examples-json.rs
Normal file
|
@ -0,0 +1,13 @@
|
|||
// check-pass
|
||||
// compile-flags:-Z unstable-options --output-format json --show-coverage
|
||||
|
||||
// This check ensures that only one doc example is counted since they're "optional" on
|
||||
// certain items.
|
||||
|
||||
/// ```
|
||||
/// let x = 12;
|
||||
/// ```
|
||||
pub const Foo: u32 = 0;
|
||||
|
||||
/// doc
|
||||
pub const Bar: u32 = 0;
|
Loading…
Add table
Add a link
Reference in a new issue