From 64d98f8ee037282c35007b64c2649055c56af1db Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:03 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- .../inherent-impl-const-bounds.rs | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 src/test/ui/rfc-2632-const-trait-impl/inherent-impl-const-bounds.rs (limited to 'src/test/ui/rfc-2632-const-trait-impl/inherent-impl-const-bounds.rs') diff --git a/src/test/ui/rfc-2632-const-trait-impl/inherent-impl-const-bounds.rs b/src/test/ui/rfc-2632-const-trait-impl/inherent-impl-const-bounds.rs deleted file mode 100644 index f8ac793e4..000000000 --- a/src/test/ui/rfc-2632-const-trait-impl/inherent-impl-const-bounds.rs +++ /dev/null @@ -1,22 +0,0 @@ -// check-pass -#![feature(const_trait_impl)] - -struct S; - -#[const_trait] -trait A {} -#[const_trait] -trait B {} - -impl const A for S {} -impl const B for S {} - -impl S { - const fn a() where T: ~const B { - - } -} - -const _: () = S::a::(); - -fn main() {} -- cgit v1.2.3