#static #assert #time #compile #compile-time

yanked static_assert

static assertions

Uses old Rust 2015

0.3.1 Jul 5, 2016
0.3.0 Apr 1, 2016
0.2.0 Dec 18, 2015
0.1.3 May 27, 2015

#151 in #assert

Custom license

5KB
78 lines

Build Status Latest Version

##Example usage

#![feature(plugin)]
#![plugin(static_assert)]

fn main() {
    static_assert!(5 == 4);
}

No runtime deps