mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-17 00:00:11 +02:00
tokio:
merge rt-core and rt-util as rt
rename rt-threaded to rt-multi-thread
tokio-util:
rename rt-core to rt
Closes #2942
13 lines
293 B
Rust
13 lines
293 B
Rust
#[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", not(feature = "full")))]
|
|
t.compile_fail("tests/fail/macros_core_no_default.rs");
|
|
|
|
drop(t);
|
|
}
|