rust/tests/rustdoc/issue-43153.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
222 B
Rust
Raw Normal View History

// 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;