mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00
11 lines
171 B
Rust
11 lines
171 B
Rust
//@ known-bug: #132826
|
|
pub trait MyTrait {
|
|
type Item;
|
|
}
|
|
|
|
impl<K> MyTrait for Vec<K> {
|
|
type Item = Vec<K>;
|
|
}
|
|
|
|
impl<K> From<Vec<K>> for <Vec<K> as MyTrait>::Item {}
|