2019-11-22 14:38:49 -08:00
|
|
|
#[test]
|
2020-10-12 13:44:54 -04:00
|
|
|
fn compile_fail_full() {
|
2019-11-22 14:38:49 -08:00
|
|
|
let t = trybuild::TestCases::new();
|
|
|
|
|
|
|
|
|
|
#[cfg(feature = "full")]
|
|
|
|
|
t.compile_fail("tests/fail/macros_invalid_input.rs");
|
|
|
|
|
|
2020-10-13 06:13:23 +09:00
|
|
|
#[cfg(all(feature = "rt", not(feature = "full")))]
|
2020-10-12 13:44:54 -04:00
|
|
|
t.compile_fail("tests/fail/macros_core_no_default.rs");
|
|
|
|
|
|
2019-11-22 14:38:49 -08:00
|
|
|
drop(t);
|
|
|
|
|
}
|