diff options
| author | omskscream <golovkov93@gmail.com> | 2025-09-13 23:43:20 +0300 |
|---|---|---|
| committer | omskscream <golovkov93@gmail.com> | 2025-09-14 12:16:04 +0300 |
| commit | 05a5c7d0a104d3c3efbccb0aaf01b51495ad3080 (patch) | |
| tree | 3f99c232193cacc93cf885d10aa370a8f9ef7ed9 | |
| parent | 619a6964c757e9e94253fa6618fb03519ad2b55e (diff) | |
| download | rust-05a5c7d0a104d3c3efbccb0aaf01b51495ad3080.tar.gz rust-05a5c7d0a104d3c3efbccb0aaf01b51495ad3080.zip | |
clean up issue-19479 (assoc type from another trait)
| -rw-r--r-- | tests/ui/traits/associated_type_bound/assoc-type-via-another-trait-issue-19479.rs (renamed from tests/ui/issues/issue-19479.rs) | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/issues/issue-19479.rs b/tests/ui/traits/associated_type_bound/assoc-type-via-another-trait-issue-19479.rs index ed586b76550..f17a89bcb5f 100644 --- a/tests/ui/issues/issue-19479.rs +++ b/tests/ui/traits/associated_type_bound/assoc-type-via-another-trait-issue-19479.rs @@ -1,5 +1,11 @@ //@ check-pass +//! Tests that it's possible to define an associated type in a trait +//! using an associated type from type parameter bound trait in a blanket implementation. +//! +//! # Context +//! Original issue: https://github.com/rust-lang/rust/issues/19479 + trait Base { fn dummy(&self) { } } |
