summaryrefslogtreecommitdiffstats
path: root/src/test/incremental/issue-92163-missing-sourcefile/auxiliary/second_crate.rs
blob: ab7961f3823709384865034cd2179e562854a12b (plain)
1
2
3
4
5
6
7
8
9
10
// 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!()
}