rust/tests/crashes/126268.rs
2024-11-02 23:44:12 +01:00

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> {}