From a813cc1bf190f9cdcd7dce2eba287c637ce4048f Mon Sep 17 00:00:00 2001 From: csmoe Date: Sat, 21 Sep 2019 03:17:57 +0000 Subject: rename is_async_fn to asyncness --- src/librustc/query/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/librustc/query') diff --git a/src/librustc/query/mod.rs b/src/librustc/query/mod.rs index 5e1db92b555..252e49d5d15 100644 --- a/src/librustc/query/mod.rs +++ b/src/librustc/query/mod.rs @@ -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) } } -- cgit 1.4.1-3-g733a5