]> git.lizzy.rs Git - rust.git/commit
Move assertion inwards.
authorCamille GILLOT <gillot.camille@gmail.com>
Mon, 2 Nov 2020 22:09:03 +0000 (23:09 +0100)
committerCamille GILLOT <gillot.camille@gmail.com>
Sun, 22 Aug 2021 18:23:29 +0000 (20:23 +0200)
commitc3bf3969d408f46881908336f9e3a8721601abc4
treea8a4157db967e1c1950be784c42de482cb04dae2
parentcd1cb3449e3c92f6fbcd907d58b3009b1067d7f0
Move assertion inwards.

`with_taks_impl` is only called from `with_eval_always_task` and
`with_task` . The former is only used in query invocation, while the
latter is also used to start the `tcx` and to trigger codegen.

This move should not change significantly the number of calls to this
assertion.
compiler/rustc_query_system/src/dep_graph/graph.rs
compiler/rustc_query_system/src/query/plumbing.rs