rename is_async_fn to asyncness
This commit is contained in:
parent
9ffb1ce28c
commit
a813cc1bf1
6 changed files with 13 additions and 21 deletions
|
|
@ -244,7 +244,7 @@ rustc_queries! {
|
|||
desc { |tcx| "checking if item is const fn: `{}`", tcx.def_path_str(key) }
|
||||
}
|
||||
|
||||
query is_async_fn(key: DefId) -> bool {
|
||||
query asyncness(key: DefId) -> hir::IsAsync {
|
||||
desc { |tcx| "checking if the function is async: `{}`", tcx.def_path_str(key) }
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue