blob: 72a45b5007d7af21488d040c7a99b84990299b7c [file] [log] [blame]
// build-pass (FIXME(62277): could be check-pass?)
// edition:2018
struct Xyz {
a: u64,
}
trait Foo {}
impl Xyz {
async fn do_sth<'a>(
&'a self, foo: &'a dyn Foo
) -> bool
{
true
}
}
fn main() {}