add naive_layout_of
query
This commit is contained in:
parent
e2a7ba2771
commit
cb8b1d1bc9
19 changed files with 294 additions and 49 deletions
|
@ -176,7 +176,8 @@ impl QueryJobId {
|
|||
while let Some(id) = current_id {
|
||||
let info = query_map.get(&id).unwrap();
|
||||
// FIXME: This string comparison should probably not be done.
|
||||
if format!("{:?}", info.query.dep_kind) == "layout_of" {
|
||||
let query_name = format!("{:?}", info.query.dep_kind);
|
||||
if query_name == "layout_of" || query_name == "naive_layout_of" {
|
||||
depth += 1;
|
||||
last_layout = Some((info.clone(), depth));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue