| 1 |
use anyhow::{ensure, Result}; |
| 2 |
|
| 3 |
fn main() -> Result<()> { |
| 4 |
// `ensure!` must not partition this into `(false) == (false == true)` |
| 5 |
// because Rust doesn't ordinarily allow this form of expression. |
| 6 |
ensure!(false == false == true); |
| 7 |
Ok(()) |
| 8 |
} |