Module rustc::infer::error_reporting::nice_region_error[][src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Re-exports

use infer::InferCtxt;
use infer::lexical_region_resolve::RegionResolutionError;
use infer::lexical_region_resolve::RegionResolutionError::*;
use syntax::codemap::Span;
use ty;
use ty::TyCtxt;
use util::common::ErrorReported;

Modules

different_lifetimes [
Experimental
]

Error Reporting for Anonymous Region Lifetime Errors where both the regions are anonymous.

find_anon_type [
Experimental
]
named_anon_conflict [
Experimental
]

Error Reporting for Anonymous Region Lifetime Errors where one region is named and the other is anonymous.

outlives_closure [
Experimental
]

Error Reporting for Anonymous Region Lifetime Errors where both the regions are anonymous.

util [
Experimental
]

Helper functions corresponding to lifetime errors due to anonymous regions.

Structs

NiceRegionError [
Experimental
]