summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/issue-43153.rs
blob: 0fe680f10af34827ee2a79d4b2861ff9f03b0e71 (plain)
1
2
3
4
5
6
7
8
9
10
// 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;