Skip to main content

expr_place

Function expr_place 

Source
pub(crate) fn expr_place<'tcx>(
    fcx: &FnCtxt<'_, 'tcx>,
    expr: &Expr<'_>,
) -> Result<PlaceWithHirId<'tcx>, ErrorGuaranteed>
Expand description

Categorizes expr as a place for diagnostic suggestions.

This should be used for diagnostics purpose only.