mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 04:24:26 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			219 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			219 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| mod m {
 | |
|     fn check() {
 | |
|         Vec::clone!(); //~ ERROR failed to resolve: `Vec` is a struct, not a module
 | |
|         u8::clone!(); //~ ERROR failed to resolve: `u8` is a builtin type, not a module
 | |
|     }
 | |
| }
 | |
| 
 | |
| fn main() {}
 | 
