rustc_
mir_
build
1.88.0-nightly
(00095b3da 2025-04-03)
In rustc_
mir_
build::
builder::
expr::
as_
constant
Functions
as_constant_inner
lit_to_mir_constant
rustc_mir_build
::
builder
::
expr
::
as_constant
Function
lit_to_mir_constant
Copy item path
Settings
Help
Summary
Source
fn lit_to_mir_constant<'tcx>( tcx:
TyCtxt
<'tcx>, lit_input:
LitToConstInput
<'tcx>, ) ->
Const
<'tcx>