Function clippy_utils::consts::field_of_struct

source ยท
fn field_of_struct<'tcx>(
    adt_def: AdtDef<'tcx>,
    lcx: &LateContext<'tcx>,
    result: Const<'tcx>,
    field: &Ident,
) -> Option<Const<'tcx>>