rustc_
mir_
transform
1.89.0-nightly
(44f415c1d 2025-06-06)
In rustc_
mir_
transform::
coroutine
rustc_mir_transform
::
coroutine
Function
can_return
Copy item path
Source
fn can_return<'tcx>( tcx:
TyCtxt
<'tcx>, body: &
Body
<'tcx>, typing_env:
TypingEnv
<'tcx>, ) ->
bool