rustc_
const_
eval
1.86.0-beta.7
(7824ede68 2025-03-22)
In rustc_
const_
eval::
const_
eval::
fn_
queries
Functions
constness
is_promotable_const_fn
parent_impl_or_trait_constness
provide
rustc_const_eval
::
const_eval
::
fn_queries
Function
is_promotable_const_fn
Copy item path
Settings
Help
Summary
Source
fn is_promotable_const_fn(tcx:
TyCtxt
<'_>, def_id:
DefId
) ->
bool