rustc_
const_
eval
1.87.0-nightly
(920d95eaf 2025-03-28)
In rustc_
const_
eval::
const_
eval::
fn_
queries
rustc_const_eval
::
const_eval
::
fn_queries
Function
is_promotable_const_fn
Copy item path
Source
fn is_promotable_const_fn(tcx:
TyCtxt
<'_>, def_id:
DefId
) ->
bool