mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			274 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			274 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| // https://github.com/rust-lang/rust/issues/43153
 | |
| 
 | |
| // Test that `include!` in a doc test searches relative to the directory in
 | |
| // which the test is declared.
 | |
| 
 | |
| //@ compile-flags:--test
 | |
| 
 | |
| /// ```rust
 | |
| /// include!("auxiliary/empty.rs");
 | |
| /// fn main() {}
 | |
| /// ```
 | |
| pub struct Foo;
 | 
