Trait rustc_hir_typeck::coercion::AsCoercionSite
source · pub(crate) trait AsCoercionSite {
// Required method
fn as_coercion_site(&self) -> &Expr<'_>;
}
Expand description
Something that can be converted into an expression to which we can apply a coercion.