Allow to create definitions inside the query system.
This commit is contained in:
parent
3dcb616888
commit
43bb31b954
23 changed files with 260 additions and 150 deletions
|
@ -20,6 +20,12 @@ rustc_queries! {
|
|||
desc { "trigger a delay span bug" }
|
||||
}
|
||||
|
||||
/// Create a new definition within the incr. comp. engine.
|
||||
query register_def(_: ty::RawLocalDefId) -> LocalDefId {
|
||||
eval_always
|
||||
desc { "register a DefId with the incr. comp. engine" }
|
||||
}
|
||||
|
||||
query resolutions(_: ()) -> &'tcx ty::ResolverOutputs {
|
||||
eval_always
|
||||
no_hash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue