rust/tests/crashes/102252.rs

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

15 lines
236 B
Rust
Raw Normal View History

//@ known-bug: #102252
#![feature(min_specialization, rustc_attrs)]
#[rustc_specialization_trait]
pub trait Trait {}
struct Struct
where
Self: Iterator<Item = <Self as Iterator>::Item>, {}
impl Trait for Struct {}
fn main() {}