2021-07-09 04:06:20 -05:00
|
|
|
//@ check-pass
|
|
|
|
//@ compile-flags:--test -Zunstable-options --nocapture
|
2023-04-29 04:08:33 -05:00
|
|
|
//@ normalize-stderr-test: "tests/rustdoc-ui/doctest" -> "$$DIR"
|
|
|
|
//@ normalize-stdout-test: "tests/rustdoc-ui/doctest" -> "$$DIR"
|
2024-06-21 00:15:36 -05:00
|
|
|
//@ normalize-stdout-test: "finished in \d+\.\d+s" -> "finished in $$TIME"
|
2021-07-09 04:06:20 -05:00
|
|
|
|
|
|
|
/// ```compile_fail
|
|
|
|
/// fn foo() {
|
|
|
|
/// Input: 123
|
|
|
|
/// }
|
|
|
|
/// ```
|
|
|
|
pub struct Foo;
|