mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 04:57:19 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			190 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			190 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| #![allow(unused_imports)]
 | |
| 
 | |
| pub mod foo {
 | |
|     pub struct Foo;
 | |
| 
 | |
|     impl Foo {
 | |
|         pub const BAR: i32 = 0;
 | |
|     }
 | |
| }
 | |
| 
 | |
| use foo::Foo::BAR; //~ ERROR unresolved import `foo::Foo`
 | |
| 
 | |
| fn main() {}
 | 
