2023-11-20 12:50:25 -06:00
|
|
|
// https://github.com/rust-lang/rust/issues/43153
|
|
|
|
|
2017-08-10 00:19:58 -05:00
|
|
|
// 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;
|