mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
19 lines
261 B
Rust
19 lines
261 B
Rust
//@ known-bug: #126268
|
|
#![feature(min_specialization)]
|
|
|
|
trait Trait {}
|
|
|
|
impl<T> Trait for T {}
|
|
|
|
trait Data {
|
|
type Elem;
|
|
}
|
|
|
|
struct DatasetIter<'a, R: Data> {
|
|
data: &'a R::Elem,
|
|
}
|
|
|
|
pub struct ArrayBase {}
|
|
|
|
impl<'a> Trait for DatasetIter<'a, ArrayBase> {}
|