#[test]
pub fn test() {
let t = trybuild2::TestCases::new();
t.pass("tests/regex_compiletest/01-not-dangling.rs");
t.compile_fail_check_sub(
"tests/regex_compiletest/02-dangling.rs",
"error[E0505]: cannot move out of `s` because it is borrowed",
);
t.pass("tests/regex_compiletest/03-static-value.rs");
t.compile_fail_check_sub(
"tests/regex_compiletest/04-nonstatic-value.rs",
"argument requires that `s` is borrowed for `'static`",
);
t.compile_fail("tests/regex_compiletest/05-variance.rs");
t.pass("tests/regex_compiletest/06-property.rs");
}