serde/test_suite/tests/compiletest.rs

10 lines
318 B
Rust
Raw Normal View History

#[cfg_attr(target_os = "emscripten", ignore = "disabled on Emscripten")]
#[rustversion::attr(not(nightly), ignore = "requires nightly")]
#[cfg_attr(miri, ignore = "incompatible with miri")]
#[allow(unused_attributes)]
#[test]
fn ui() {
2019-05-04 01:23:02 -05:00
let t = trybuild::TestCases::new();
t.compile_fail("tests/ui/**/*.rs");
}