mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			286 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			286 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// edition:2015
 | 
						|
 | 
						|
#![crate_name = "foo"]
 | 
						|
 | 
						|
use external::Public as Private;
 | 
						|
 | 
						|
pub mod external {
 | 
						|
    pub struct Public;
 | 
						|
 | 
						|
    // @has 'foo/external/fn.make.html'
 | 
						|
    // @has - '//*[@class="rust item-decl"]/code' 'pub fn make() -> Public'
 | 
						|
    pub fn make() -> ::Private { super::Private }
 | 
						|
}
 |