summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/nocapture-fail.rs
blob: 9a3fb592c6304af2aaf57ac39ab3666a6c961a6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// check-pass
// compile-flags:--test -Zunstable-options --nocapture
// normalize-stderr-test: "tests/rustdoc-ui" -> "$$DIR"
// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR"
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"

/// ```compile_fail
/// fn foo() {
///     Input: 123
/// }
/// ```
pub struct Foo;