Source code

Revision control

Copy as Markdown

Other Tools

#[rustversion::nightly]
#[test]
fn ui() {
let t = trybuild::TestCases::new();
t.compile_fail("tests/compile-fail/*.rs");
t.pass("tests/compile-pass/*.rs");
#[cfg(feature = "serde")]
t.compile_fail("tests/compile-fail-serde/*.rs");
}