blob: 6f70a2722030052ae187c9474df81fa47d50d4db [file] [log] [blame] [edit]
//@ check-pass
//@ edition: 2021
fn foo<'r#struct>() {}
fn hr<T>() where for<'r#struct> T: Into<&'r#struct ()> {}
trait Foo<'r#struct> {}
trait Bar<'r#struct> {
fn method(&'r#struct self) {}
fn method2(self: &'r#struct Self) {}
}
fn labeled() {
'r#struct: loop {
break 'r#struct;
}
}
fn main() {}