about summary refs log tree commit diff
path: root/tests/incremental/issue-92163-missing-sourcefile/auxiliary/second_crate.rs
blob: d19c3d34b6e0771f8d824ee562e2f3df9156f956 (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!()
}