Sign in
fuchsia
/
third_party
/
rust
/
7e8a8c9cb152530c9833a389e7a7d79c7db693cc
/
.
/
tests
/
rustdoc-ui
/
doctest
/
no-run-flag-error.rs
blob: 3f9016b23db413bbcf8836e6da7a65affbe9e86b [
file
] [
log
] [
blame
]
// test the behavior of the --no-run flag without the --test flag
//@ compile-flags:-Z unstable-options --no-run --test-args=--test-threads=1
pub
fn
f
()
{}
//~? ERROR the `--test` flag must be passed to enable `--no-run`