sentinel-driver 2.0.0

High-performance PostgreSQL wire protocol driver for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Compile-fail tests via `trybuild`.
//!
//! Each `.rs` file under `tests/ui/` is compiled; its paired `.stderr`
//! file captures the expected diagnostic output. Regenerate with
//! `TRYBUILD=overwrite cargo test --test ui_tests`.

#[test]
fn ui() {
    let t = trybuild::TestCases::new();
    t.compile_fail("tests/ui/*.rs");
}