2 // compile-flags:--test
3 // normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
4 // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
8 // Make sure `cfg(doc)` is set when finding doctests but not inside the doctests.
11 /// #![feature(doc_cfg)]
12 /// assert!(!cfg!(doc));