]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/issue-43153.rs
Merge commit '61667dedf55e3e5aa584f7ae2bd0471336b92ce9' into sync_cg_clif-2021-09-19
[rust.git] / src / test / rustdoc / issue-43153.rs
1 // Test that `include!` in a doc test searches relative to the directory in
2 // which the test is declared.
3
4 // compile-flags:--test
5
6 /// ```rust
7 /// include!("auxiliary/empty.rs");
8 /// fn main() {}
9 /// ```
10 pub struct Foo;