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