]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #68289 - pnkfelix:issue-62649-dont-ice-on-path-collision-in-dep-graph...
authorYuki Okushi <huyuumi.dev@gmail.com>
Wed, 29 Jan 2020 00:34:43 +0000 (09:34 +0900)
committerGitHub <noreply@github.com>
Wed, 29 Jan 2020 00:34:43 +0000 (09:34 +0900)
commitcb3884adaa538a9d380ac64dd3c9bb6ce6738da6
treefa27a4039a8a185b3ce23bcd596a2660481707e5
parent3761dcd3467441f78939ccb3b341b03b6a7558d7
parent6f4b904aa999aded3b1ee317146387a8686715e3
Rollup merge of #68289 - pnkfelix:issue-62649-dont-ice-on-path-collision-in-dep-graph, r=michaelwoerister

Don't ICE on path-collision in dep-graph

Collisions in the dep-graph due to path-reuse are rare but can occur.

So, instead of ICE'ing, just fail to mark green in such cases (for `DepKind::{Hir, HirBody, CrateMetadata}`).

Fix #62649.