chromium/third_party/rust/chromium_crates_io/vendor/anyhow-1.0.86/tests/ui/chained-comparison.rs

use anyhow::{ensure, Result};

fn main() -> Result<()> {
    // `ensure!` must not partition this into `(false) == (false == true)`
    // because Rust doesn't ordinarily allow this form of expression.
    ensure!(false == false == true);
    Ok(())
}