]> git.lizzy.rs Git - rust.git/blob - src/test/incremental/issue-79661-missing-def-path-hash.rs
Rollup merge of #100338 - lyming2007:issue-100285-fix, r=petrochenkov
[rust.git] / src / test / incremental / issue-79661-missing-def-path-hash.rs
1 // aux-build:issue-79661.rs
2 // revisions: rpass1 rpass2 rpass3
3
4 // Regression test for issue #79661
5 // We were failing to copy over a DefPathHash->DefId mapping
6 // from the old incremental cache to the new incremental cache
7 // when we ended up forcing a query. As a result, a subsequent
8 // unchanged incremental run would crash due to the missing mapping
9
10 extern crate issue_79661;
11 use issue_79661::Wrapper;
12
13 pub struct Outer(Wrapper);
14 fn main() {}