mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
12 lines
212 B
Rust
12 lines
212 B
Rust
fn main() {
|
|
assert!(true);
|
|
assert!(false);
|
|
assert!(true, "true message");
|
|
assert!(false, "false message");
|
|
|
|
const B: bool = true;
|
|
assert!(B);
|
|
|
|
const C: bool = false;
|
|
assert!(C);
|
|
}
|