diff options
Diffstat (limited to 'src/test/ui/coherence/issue-99663-2.rs')
-rw-r--r-- | src/test/ui/coherence/issue-99663-2.rs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/test/ui/coherence/issue-99663-2.rs b/src/test/ui/coherence/issue-99663-2.rs deleted file mode 100644 index 10a0a5688..000000000 --- a/src/test/ui/coherence/issue-99663-2.rs +++ /dev/null @@ -1,22 +0,0 @@ -// check-pass - -#![feature(type_alias_impl_trait)] - -struct Outer<T: ?Sized> { - i: InnerSend<T>, -} - -type InnerSend<T: ?Sized> = impl Send; - -fn constrain<T: ?Sized>() -> InnerSend<T> { - () -} - -trait SendMustNotImplDrop {} - -#[allow(drop_bounds)] -impl<T: ?Sized + Send + Drop> SendMustNotImplDrop for T {} - -impl<T: ?Sized> SendMustNotImplDrop for Outer<T> {} - -fn main() {} |