diff options
Diffstat (limited to 'src/test/ui/rfc-2632-const-trait-impl/specialization/default-keyword.rs')
-rw-r--r-- | src/test/ui/rfc-2632-const-trait-impl/specialization/default-keyword.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/rfc-2632-const-trait-impl/specialization/default-keyword.rs b/src/test/ui/rfc-2632-const-trait-impl/specialization/default-keyword.rs deleted file mode 100644 index 2aac0a2b4..000000000 --- a/src/test/ui/rfc-2632-const-trait-impl/specialization/default-keyword.rs +++ /dev/null @@ -1,15 +0,0 @@ -// check-pass - -#![feature(const_trait_impl)] -#![feature(min_specialization)] - -#[const_trait] -trait Foo { - fn foo(); -} - -impl const Foo for u32 { - default fn foo() {} -} - -fn main() {} |