rust/tests/crashes/124021.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
158 B
Rust
Raw Normal View History

2024-04-17 07:01:07 +08:00
//@ 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
}