lock_ordering 0.2.0

Lock ordering enforcement at compile time.
Documentation
1
2
3
4
5
6
7

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