Skip to content

Commit 12b81a5

Browse files
committed
Add simple trait test
1 parent f77bfb7 commit 12b81a5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// check-pass
2+
// compile-flags: -Zlower-impl-trait-in-trait-to-assoc-ty
3+
4+
#![feature(return_position_impl_trait_in_trait)]
5+
#![allow(incomplete_features)]
6+
7+
trait Foo {
8+
fn foo() -> impl Sized;
9+
}
10+
11+
fn main() {}

0 commit comments

Comments
 (0)