]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/no-run-flag-error.rs
Merge commit '7d53619064ab7045c383644cb445052d2a3d46db' into sync_cg_clif-2023-02-09
[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() {}