]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/no-run-flag-error.rs
Auto merge of #107840 - matthiaskrgr:rollup-e6v7x0a, r=matthiaskrgr
[rust.git] / tests / rustdoc-ui / no-run-flag-error.rs
1 // test the behavior of the --no-run flag without the --test flag
2
3 // compile-flags:-Z unstable-options --no-run --test-args=--test-threads=1
4 // error-pattern: the `--test` flag must be passed
5
6 pub fn f() {}