mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			266 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			266 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// aux-build:issue-80079.rs
 | 
						|
 | 
						|
// using a module from another crate should not cause errors to suggest private
 | 
						|
// items in that module
 | 
						|
 | 
						|
extern crate issue_80079;
 | 
						|
 | 
						|
use issue_80079::public;
 | 
						|
 | 
						|
fn main() {
 | 
						|
    let _ = Foo; //~ ERROR cannot find value `Foo` in this scope
 | 
						|
}
 |