#[cfg(feature = "codegen")] mod tests { #[test] fn ui() { let t = trybuild::TestCases::new(); t.compile_fail("tests/failures/*.rs"); } }