mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			7 lines
		
	
	
		
			190 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			190 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
trait Foo {
 | 
						|
    fn bar<'a>() -> impl Sized + use<Self>;
 | 
						|
    //~^ ERROR `use<...>` precise capturing syntax is currently not allowed in return-position `impl Trait` in traits
 | 
						|
}
 | 
						|
 | 
						|
fn main() {}
 |