7 lines
152 B
Rust
7 lines
152 B
Rust
|
|
#[test]
|
||
|
|
fn compile_fail() {
|
||
|
|
let t = trybuild::TestCases::new();
|
||
|
|
t.pass("tests/run-pass/*.rs");
|
||
|
|
t.compile_fail("tests/compile-fail/*.rs");
|
||
|
|
}
|