1 // test the behavior of the --no-run flag
4 // compile-flags:-Z unstable-options --test --no-run --test-args=--test-threads=1
5 // normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
6 // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
14 /// ```ignore (incomplete-code)
19 /// println!("Hello, world");
25 /// x += 2; // shouldn't compile!
27 /// Ok the test does not run
31 /// Ok the test does not run
34 /// println!("Hello, world");