Simplify tls::enter_context
.
This commit is contained in:
parent
ef934d9b63
commit
f7b3e39502
5 changed files with 6 additions and 6 deletions
|
@ -55,7 +55,7 @@ impl rustc_query_system::dep_graph::DepKind for DepKind {
|
|||
ty::tls::with_context(|icx| {
|
||||
let icx = ty::tls::ImplicitCtxt { task_deps, ..icx.clone() };
|
||||
|
||||
ty::tls::enter_context(&icx, |_| op())
|
||||
ty::tls::enter_context(&icx, op)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue