rust/tests/incremental/issue-92163-missing-sourcefile/auxiliary/second_crate.rs
2023-01-11 09:32:08 +00:00

11 lines
309 B
Rust

// compile-flags:--extern first_crate
// Note: adding `first_crate` to the extern prelude
// (instead of using `extern_crate`) appears to be necessary to
// trigger the original incremental compilation bug.
// I'm not entirely sure why this is the case
pub fn make_it() -> first_crate::Foo {
panic!()
}