2024-02-16 20:02:50 +00:00
|
|
|
//@ edition:2018
|
|
|
|
|
//@ check-pass
|
2022-11-23 14:34:11 +08:00
|
|
|
|
|
|
|
|
#![allow(dead_code)]
|
|
|
|
|
async fn fail<'a, 'b, 'c>(_: &'static str) where 'a: 'c, 'b: 'c, {}
|
|
|
|
|
async fn pass<'a, 'c, 'b>(_: &'static str) where 'a: 'c, 'b: 'c, {}
|
|
|
|
|
async fn pass2<'a, 'b, 'c>(_: &'static str) where 'a: 'c, 'b: 'c, 'c: 'a, {}
|
|
|
|
|
async fn pass3<'a, 'b, 'c>(_: &'static str) where 'a: 'b, 'b: 'c, 'c: 'a, {}
|
|
|
|
|
|
|
|
|
|
fn main() { }
|