]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/failed-doctest-missing-codes.rs
Rollup merge of #107348 - lcnr:project-solve-new, r=compiler-errors
[rust.git] / tests / rustdoc-ui / failed-doctest-missing-codes.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: "tests/rustdoc-ui" -> "$$DIR"
6 // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
7 // failure-status: 101
8
9 /// ```compile_fail,E0004
10 /// let x: () = 5i32;
11 /// ```
12 pub struct Foo;