mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			198 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			198 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| mod foo {
 | |
|     pub struct B(pub ());
 | |
| }
 | |
| 
 | |
| mod baz {
 | |
|     fn foo() {
 | |
|         B(());
 | |
|         //~^ ERROR cannot find function, tuple struct or tuple variant `B` in this scope [E0425]
 | |
|     }
 | |
| }
 | |
| 
 | |
| fn main() {}
 | 
