]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/failed-doctest-compile-fail.rs
Auto merge of #95031 - compiler-errors:param-env-cache, r=Aaron1011
[rust.git] / src / test / rustdoc-ui / failed-doctest-compile-fail.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 /// ```compile_fail
10 /// println!("Hello");
11 /// ```
12 pub struct Foo;