mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			243 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			243 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// This test enforces that the (renamed) reexports are present in the search results.
 | 
						|
#![crate_name = "foo"]
 | 
						|
 | 
						|
pub mod fmt {
 | 
						|
    pub struct Subscriber;
 | 
						|
}
 | 
						|
mod foo {
 | 
						|
    pub struct AnotherOne;
 | 
						|
}
 | 
						|
 | 
						|
pub use fmt::Subscriber;
 | 
						|
pub use foo::AnotherOne;
 |