mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 04:24:26 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			306 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			306 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| #![allow(unused_imports)]
 | |
| 
 | |
| mod foo {}
 | |
| 
 | |
| use foo::{
 | |
|     ::bar,       //~ ERROR crate root in paths can only be used in start position
 | |
|     super::bar,  //~ ERROR `super` in paths can only be used in start position
 | |
|     self::bar,   //~ ERROR `self` in paths can only be used in start position
 | |
| };
 | |
| 
 | |
| fn main() {}
 | 
