rustc_
const_
eval
1.90.0-nightly
(a2d45f73c 2025-07-07)
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