rust/tests/run-make/no-input-file/rmake.rs

10 lines
219 B
Rust
Raw Normal View History

use run_make_support::rustc;
fn main() {
rustc().print("crate-name").run_fail().assert_exit_code(1).assert_stderr_equals(
"error: no input filename given
error: aborting due to 1 previous error",
);
}