rust/src/test/compile-fail/static-assert2.rs

5 lines
90 B
Rust
Raw Normal View History

#[static_assert]
static e: bool = 1 == 2; //~ ERROR static assertion failed
fn main() {}