static_assert
macro
Cargo.toml:
[dependencies]
static_assert_macro = "1.0.0"
Your code:
#[macro_use]
extern crate static_assert_macro;
static_assert!(1 < 2);
For more details, visit
This crate is a free software distributed under the Apache 2.0 license.