mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-14 17:07:17 +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);
|
|
}
|