• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/doctest" -> "$$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;
13