diff options
Diffstat (limited to 'src/test/ui/type-alias-impl-trait/implied_bounds2.rs')
-rw-r--r-- | src/test/ui/type-alias-impl-trait/implied_bounds2.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/type-alias-impl-trait/implied_bounds2.rs b/src/test/ui/type-alias-impl-trait/implied_bounds2.rs deleted file mode 100644 index b4c4c013c..000000000 --- a/src/test/ui/type-alias-impl-trait/implied_bounds2.rs +++ /dev/null @@ -1,10 +0,0 @@ -// check-pass - -#![feature(type_alias_impl_trait)] - -type Ty<'a, A> = impl Sized + 'a; -fn defining<'a, A>() -> Ty<'a, A> {} -fn assert_static<T: 'static>() {} -fn test<'a, A>() where Ty<'a, A>: 'static, { assert_static::<Ty<'a, A>>() } - -fn main() {} |