blob: a12a20ef41d16b5b208fa28714fe56252e9e60cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#[test]
fn compile_fail_full() {
let t = trybuild::TestCases::new();
#[cfg(feature = "full")]
t.compile_fail("tests/fail/macros_invalid_input.rs");
#[cfg(all(feature = "rt-core", not(feature = "full")))]
t.compile_fail("tests/fail/macros_core_no_default.rs");
drop(t);
}
|