2022-09-11 04:35:43 -05:00
|
|
|
// build-pass
|
|
|
|
// compile-flags: --crate-type=lib
|
2023-03-08 08:18:38 -06:00
|
|
|
// [next] compile-flags: -Zlower-impl-trait-in-trait-to-assoc-ty
|
|
|
|
// revisions: current next
|
2022-09-11 04:35:43 -05:00
|
|
|
|
|
|
|
#![feature(return_position_impl_trait_in_trait)]
|
|
|
|
#![allow(incomplete_features)]
|
|
|
|
|
|
|
|
trait Foo {
|
|
|
|
fn bar() -> impl Sized;
|
|
|
|
}
|