mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
7 lines
158 B
Rust
7 lines
158 B
Rust
//@ known-bug: #124021
|
|
type Opaque2<'a> = impl Sized + 'a;
|
|
|
|
fn test2() -> impl for<'a, 'b> Fn((&'a str, &'b str)) -> (Opaque2<'a>, Opaque2<'a>) {
|
|
|x| x
|
|
}
|