blob: 361332a1cab5eb1345945e091c5bf5927b44020c (
plain)
1
2
3
4
5
6
7
8
9
|
extern crate trybuild;
#[test]
#[ignore]
fn compile_test() {
let t = trybuild::TestCases::new();
let pattern = std::env::var("DERIVATIVE_TEST_FILTER").unwrap_or_else(|_| String::from("*.rs"));
t.compile_fail(format!("tests/compile-fail/{}", pattern));
}
|