2022-04-02 10:05:27 -05:00
|
|
|
// compile-flags:--test
|
2023-04-29 04:08:33 -05:00
|
|
|
// normalize-stdout-test: "tests/rustdoc-ui/doctest" -> "$$DIR"
|
2022-04-02 10:05:27 -05:00
|
|
|
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
|
|
|
|
// check-pass
|
|
|
|
|
|
|
|
/// ```
|
|
|
|
/// # #![cfg_attr(not(dox), deny(missing_abi,
|
|
|
|
/// # non_ascii_idents))]
|
|
|
|
///
|
|
|
|
/// pub struct Bar;
|
|
|
|
/// ```
|
|
|
|
pub struct Bar;
|