diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-06-27 11:09:20 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-06-27 11:09:20 +0000 |
| commit | cf9bcb26a6582dcc9cceebb455acf330feda28f6 (patch) | |
| tree | 0f6949dc2d03ada5cfa48ec48b037e4935b8055f | |
| parent | 127fa2261b730a42e6d98b7927c3888ecd08f3e0 (diff) | |
| download | rust-cf9bcb26a6582dcc9cceebb455acf330feda28f6.tar.gz rust-cf9bcb26a6582dcc9cceebb455acf330feda28f6.zip | |
Remove duplicate of tests/ui/impl-trait/nested-return-type2.rs
| -rw-r--r-- | tests/ui/type/subtyping-opaque-type.rs | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/ui/type/subtyping-opaque-type.rs b/tests/ui/type/subtyping-opaque-type.rs deleted file mode 100644 index e17114a3647..00000000000 --- a/tests/ui/type/subtyping-opaque-type.rs +++ /dev/null @@ -1,19 +0,0 @@ -//@ check-pass -//@ compile-flags: -Zvalidate-mir -trait Duh {} - -impl Duh for i32 {} - -trait Trait { - type Assoc: Duh; -} - -impl<R: Duh, F: FnMut() -> R> Trait for F { - type Assoc = R; -} - -fn foo() -> impl Trait<Assoc = impl Send> { - || 42 -} - -fn main() {} |
