Use a field for is_eval_always.
This commit is contained in:
parent
24f0b957e7
commit
d8c87ac080
2 changed files with 14 additions and 13 deletions
|
@ -26,8 +26,9 @@ pub type SerializedDepGraph = rustc_query_system::dep_graph::SerializedDepGraph<
|
|||
impl rustc_query_system::dep_graph::DepKind for DepKind {
|
||||
const NULL: Self = DepKind::Null;
|
||||
|
||||
#[inline(always)]
|
||||
fn is_eval_always(&self) -> bool {
|
||||
DepKind::is_eval_always(self)
|
||||
self.is_eval_always
|
||||
}
|
||||
|
||||
fn has_params(&self) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue