Skip to main content

Module error_reporting

Module error_reporting 

Source

Re-exportsยง

use std::ops::Deref; ๐Ÿ”’
use rustc_errors::DiagCtxtHandle; ๐Ÿ”’
use rustc_infer::infer::InferCtxt; ๐Ÿ”’
use rustc_infer::traits::PredicateObligations; ๐Ÿ”’
use rustc_macros::extension; ๐Ÿ”’
use rustc_middle::ty; ๐Ÿ”’
use rustc_middle::ty::Ty; ๐Ÿ”’
use rustc_span::bug; ๐Ÿ”’

Modulesยง

infer
Error Reporting Code for the inference engine
traits

Structsยง

TypeErrCtxt
A helper for building type related errors. The typeck_results field is only populated during an in-progress typeck. Get an instance by calling InferCtxt::err_ctxt or FnCtxt::err_ctxt.

Traitsยง

InferCtxtErrorExt