blob: 1da1813790e860b81e35edb871117ef7e9da98fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;
|