chromium/third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/tests/ui/extern_type_bound.rs

#[cxx::bridge]
mod ffi {
    extern "C++" {
        type Opaque: PartialEq + PartialOrd;
    }
}

#[cxx::bridge]
mod ffi {
    extern "C++" {
        type Opaque: for<'de> Deserialize<'de>;
    }
}

fn main() {}