]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/nocapture-fail.rs
Rollup merge of #105784 - yanns:update_stdarch, r=Amanieu
[rust.git] / tests / rustdoc-ui / nocapture-fail.rs
1 // check-pass
2 // compile-flags:--test -Zunstable-options --nocapture
3 // normalize-stderr-test: "tests/rustdoc-ui" -> "$$DIR"
4 // normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR"
5 // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
6
7 /// ```compile_fail
8 /// fn foo() {
9 ///     Input: 123
10 /// }
11 /// ```
12 pub struct Foo;