Function rustc_middle::mir::interpret::error::struct_error
source · pub fn struct_error<'tcx>(
tcx: TyCtxtAt<'tcx>,
msg: &str
) -> DiagnosticBuilder<'tcx, ErrorGuaranteed>
pub fn struct_error<'tcx>(
tcx: TyCtxtAt<'tcx>,
msg: &str
) -> DiagnosticBuilder<'tcx, ErrorGuaranteed>