]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/no-run-flag-error.rs
Auto merge of #95337 - petrochenkov:doclink3, r=camelid
[rust.git] / src / test / 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() {}