rust/tests/crashes/126268.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
261 B
Rust
Raw Normal View History

2024-11-02 22:44:12 +00:00
//@ 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> {}