cot 0.6.0

The Rust web framework for lazy developers.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[rustversion::attr(
    not(nightly),
    ignore = "only test on nightly for consistent error messages"
)]
#[test]
#[cfg_attr(
    miri,
    ignore = "unsupported operation: extern static `pidfd_spawnp` is not supported by Miri"
)]
fn diagnostic_on_unimplemented() {
    let t = trybuild::TestCases::new();
    t.compile_fail("tests/ui/unimplemented_db_model.rs");
    t.compile_fail("tests/ui/unimplemented_request_handler.rs");
    t.compile_fail("tests/ui/unimplemented_form.rs");
    t.compile_fail("tests/ui/unimplemented_admin_model.rs");
}