mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
11 lines
222 B
Rust
11 lines
222 B
Rust
// 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;
|