Rocket/core/codegen/tests/ui-fail.rs

12 lines
262 B
Rust

#[test]
#[ignore]
fn ui() {
let path = match version_check::is_feature_flaggable() {
Some(true) => "ui-fail-nightly",
_ => "ui-fail-stable"
};
let t = trybuild::TestCases::new();
t.compile_fail(format!("tests/{}/*.rs", path));
}