rustc_
ty_
utils
1.84.0-beta.4
(202008a1b 2024-12-07)
In rustc_
ty_
utils::
ty
rustc_ty_utils
::
ty
Function
asyncness
Copy item path
Source
fn asyncness(tcx:
TyCtxt
<'_>, def_id:
LocalDefId
) ->
Asyncness
Expand description
Check if a function is async.