blob: 200782f95c86169aa2208967589fc0f9d8023de9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//@ 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() {}
|