rename is_async_fn to asyncness

This commit is contained in:
csmoe 2019-09-21 03:17:57 +00:00
parent 9ffb1ce28c
commit a813cc1bf1
6 changed files with 13 additions and 21 deletions

View file

@ -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) }
}