diff options
Diffstat (limited to 'tests/ui/rfc-2632-const-trait-impl/assoc-type-const-bound-usage.rs')
-rw-r--r-- | tests/ui/rfc-2632-const-trait-impl/assoc-type-const-bound-usage.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/ui/rfc-2632-const-trait-impl/assoc-type-const-bound-usage.rs b/tests/ui/rfc-2632-const-trait-impl/assoc-type-const-bound-usage.rs deleted file mode 100644 index 780a510c5..000000000 --- a/tests/ui/rfc-2632-const-trait-impl/assoc-type-const-bound-usage.rs +++ /dev/null @@ -1,14 +0,0 @@ -// check-pass -#![feature(const_trait_impl)] - -#[const_trait] -trait Foo { - type Assoc: ~const Foo; - fn foo() {} -} - -const fn foo<T: ~const Foo>() { - <T as Foo>::Assoc::foo(); -} - -fn main() {} |