Pass in dep kind names to the duplicate dep node check
This commit is contained in:
parent
f5dc674bf8
commit
68fd771bc1
7 changed files with 38 additions and 10 deletions
|
@ -863,5 +863,9 @@ macro_rules! define_queries {
|
|||
pub fn query_callbacks<'tcx>(arena: &'tcx Arena<'tcx>) -> &'tcx [DepKindStruct<'tcx>] {
|
||||
arena.alloc_from_iter(rustc_middle::make_dep_kind_array!(query_callbacks))
|
||||
}
|
||||
|
||||
pub fn dep_kind_names() -> Vec<&'static str> {
|
||||
rustc_middle::make_dep_kind_name_array!(query_callbacks)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue