]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/no-run-flag-error.rs
Modify primary span label for E0308
[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() {}