geometry-strategy 0.0.8

Pluggable per-coordinate-system strategies (Pythagoras, Haversine, Vincenty, …), Boost.Geometry style.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Trybuild harness for compile-fail fixtures under `tests/ui/`.
//!
//! Pins the user-facing diagnostic produced by the silent-Cartesian
//! mitigation plate on `geometry_tag::SameAs` (T31). Counterpart to
//! the C++ concept-checker tests in
//! `boost/geometry/test/strategies/`, but for compiler diagnostics
//! rather than runtime asserts.

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