sqlx 0.2.5

🧰 The Rust SQL Toolkit.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[test]
fn ui_tests() {
    let t = trybuild::TestCases::new();

    if cfg!(feature = "postgres") {
        t.compile_fail("tests/ui/postgres/*.rs");
    }

    if cfg!(feature = "mysql") {
        t.compile_fail("tests/ui/mysql/*.rs");
    }

    t.compile_fail("tests/ui/*.rs");
}