Files
Michael Howell 77eea39d45 rustdoc: error out on --test with --emit
These options don't behave reasonably when combined right now, and there
are no tests and no docs for how they should.

For the short term, make this a fatal error. If we decide to assign this
some semantics, then we can do that at any time.
2026-03-14 19:06:32 -07:00

6 lines
171 B
Rust

//@ compile-flags:--test --emit=dep-info -Z unstable-options
//@ check-fail
//~? ERROR the `--test` flag and the `--emit` flag
//! This example intentionally left blank.