blob: cf059af19251222073da1fde308739b074571543 (
plain)
1
2
3
4
5
6
7
8
|
fn opaque<T>(t: T) -> impl Sized {
//~^ ERROR cannot resolve opaque type
//~| WARNING function cannot return without recursing
opaque(Some(t))
}
#[allow(dead_code)]
fn main() {}
|