mirror of
				https://git.proxmox.com/git/rustc
				synced 2025-11-04 14:20:32 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			319 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			319 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
trait I {}
 | 
						|
type K = dyn I;
 | 
						|
impl K for isize {} //~ ERROR expected trait, found type alias `K`
 | 
						|
 | 
						|
use ImportError; //~ ERROR unresolved import `ImportError` [E0432]
 | 
						|
                 //~^ no `ImportError` in the root
 | 
						|
impl ImportError for () {} // check that this is not an additional error (cf. issue #35142)
 | 
						|
 | 
						|
fn main() {}
 |