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

use std::marker::PhantomData;

#[cxx::bridge]
mod ffi {
    extern "Rust" {
        type T;

        fn f(t: &T) -> &str;
    }
}

pub struct T<'a> {
    _lifetime: PhantomData<&'a ()>,
}

fn f<'a>(_t: &T<'a>) -> &'a str {
    ""
}

fn main() {}