]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/failed-doctest-should-panic.rs
Auto merge of #99612 - yanchen4791:issue-95079-fix, r=compiler-errors
[rust.git] / src / test / rustdoc-ui / failed-doctest-should-panic.rs
1 // FIXME: if/when the output of the test harness can be tested on its own, this test should be
2 // adapted to use that, and that normalize line can go away
3
4 // compile-flags:--test
5 // normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
6 // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
7 // failure-status: 101
8
9 /// ```should_panic
10 /// println!("Hello, world!");
11 /// ```
12 pub struct Foo;