diff options
| author | csmoe <csmoe@msn.com> | 2019-09-21 03:17:57 +0000 |
|---|---|---|
| committer | csmoe <csmoe@msn.com> | 2019-09-21 03:17:57 +0000 |
| commit | a813cc1bf190f9cdcd7dce2eba287c637ce4048f (patch) | |
| tree | 4ef07df95341cd37db30d0edf139cc2e183fdb75 /src/librustc/query | |
| parent | 9ffb1ce28cb1656d6142f1f9f6f882eb187fac25 (diff) | |
| download | rust-a813cc1bf190f9cdcd7dce2eba287c637ce4048f.tar.gz rust-a813cc1bf190f9cdcd7dce2eba287c637ce4048f.zip | |
rename is_async_fn to asyncness
Diffstat (limited to 'src/librustc/query')
| -rw-r--r-- | src/librustc/query/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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) } } |
