clippy_
utils
1.85.0-nightly
(426d17342 2024-12-21)
In clippy_
utils::
consts
clippy_utils
::
consts
Function
mir_to_const
Copy item path
Source
pub fn mir_to_const<'tcx>( tcx:
TyCtxt
<'tcx>, result:
Const
<'tcx>, ) ->
Option
<
Constant
<'tcx>>