cordis-core 0.2.9

Typed lifecycle, services, events, effects, and observation for the Cordis v3 runtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Compile evidence for the spawn surface: creation admits only a sealed
//! `PreparedPlugin`, and the normalized `PluginFailure` is opaque.

use trybuild::TestCases;

#[test]
fn spawn_interface() {
    let tests = TestCases::new();
    tests.pass("tests/ui-spawn/pass/*.rs");
    tests.compile_fail("tests/ui-spawn/fail/*.rs");
}