2 // compile-flags:--test --test-args --test-threads=1
3 // normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
5 // Crates like core have doctests gated on `cfg(not(test))` so we need to make
6 // sure `cfg(test)` is not active when running `rustdoc --test`.
8 /// this doctest will be ignored:
16 /// this doctest will be tested:
24 /// this doctest will be tested, but will not appear in documentation: