non-zero 0.2.0

A macro for creating constant non-zero integers (with type inference).
Documentation
1
2
3
4
5
6
7
use trybuild::TestCases;

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