blob: dfce973d770b906b4449ca539625ba9699b9a10d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// check-pass
// compile-flags: -Zlower-impl-trait-in-trait-to-assoc-ty
#![feature(return_position_impl_trait_in_trait)]
#![allow(incomplete_features)]
trait Foo {
fn foo() -> impl Sized;
}
fn main() {}
|