mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			236 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			236 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
//@ 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() {}
 |