Revert "Auto merge of #113166 - moulins:ref-niches-initial, r=oli-obk"
This reverts commit557359f925
, reversing changes made to1e6c09a803
.
This commit is contained in:
parent
a5e2eca40e
commit
5bbf0a8306
48 changed files with 296 additions and 1067 deletions
|
@ -176,8 +176,7 @@ impl QueryJobId {
|
|||
while let Some(id) = current_id {
|
||||
let info = query_map.get(&id).unwrap();
|
||||
// FIXME: This string comparison should probably not be done.
|
||||
let query_name = format!("{:?}", info.query.dep_kind);
|
||||
if query_name == "layout_of" || query_name == "naive_layout_of" {
|
||||
if format!("{:?}", info.query.dep_kind) == "layout_of" {
|
||||
depth += 1;
|
||||
last_layout = Some((info.clone(), depth));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue