mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			429 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			429 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// Check that associated paths starting with `<<` are successfully parsed.
 | 
						|
 | 
						|
fn main() {
 | 
						|
    let _: <<A>::B>::C; //~ ERROR cannot find type `A` in this scope
 | 
						|
    let _ = <<A>::B>::C; //~ ERROR cannot find type `A` in this scope
 | 
						|
    let <<A>::B>::C; //~ ERROR cannot find type `A` in this scope
 | 
						|
    let 0 ..= <<A>::B>::C; //~ ERROR cannot find type `A` in this scope
 | 
						|
    <<A>::B>::C; //~ ERROR cannot find type `A` in this scope
 | 
						|
}
 |