]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/failed-doctest-should-panic.rs
Rollup merge of #68881 - eddyb:always-preserve-dbg-vars, r=nagisa
[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 // failure-status: 101
7
8 /// ```should_panic
9 /// println!("Hello, world!");
10 /// ```
11 pub struct Foo;