9 lines
222 B
Rust
9 lines
222 B
Rust
#![cfg(not(miri))] // Can't run (and no point running) trybuild through miri
|
|
|
|
#[test]
|
|
fn trybuild() {
|
|
let t = trybuild::TestCases::new();
|
|
t.pass("tests/pass/*.rs");
|
|
t.compile_fail("tests/compile_fail/*.rs");
|
|
}
|