2 // compile-flags:--test --test-args --test-threads=1
3 // normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
4 // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
6 // Crates like core have doctests gated on `cfg(not(test))` so we need to make
7 // sure `cfg(test)` is not active when running `rustdoc --test`.
9 /// this doctest will be ignored:
17 /// this doctest will be tested:
25 /// this doctest will be tested, but will not appear in documentation: