[−][src]Struct rustc_infer::infer::error_reporting::nice_region_error::util::AnonymousParamInfo

pub(in infer::error_reporting::nice_region_error) struct AnonymousParamInfo<'tcx> {
    pub param: &'tcx Param<'tcx>,
    pub param_ty: Ty<'tcx>,
    pub bound_region: BoundRegion,
    pub param_ty_span: Span,
    pub is_first: bool,
}

Information about the anonymous region we are searching for.

Fields

param: &'tcx Param<'tcx>

The parameter corresponding to the anonymous region.

param_ty: Ty<'tcx>

The type corresponding to the anonymous region parameter.

bound_region: BoundRegion

The ty::BoundRegion corresponding to the anonymous region.

param_ty_span: Span

The Span of the parameter type.

is_first: bool

Signals that the argument is the first parameter in the declaration.

Trait Implementations

impl<'tcx> Debug for AnonymousParamInfo<'tcx>[src]

Auto Trait Implementations

impl<'tcx> !RefUnwindSafe for AnonymousParamInfo<'tcx>

impl<'tcx> !Send for AnonymousParamInfo<'tcx>

impl<'tcx> !Sync for AnonymousParamInfo<'tcx>

impl<'tcx> Unpin for AnonymousParamInfo<'tcx>

impl<'tcx> !UnwindSafe for AnonymousParamInfo<'tcx>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<'a, T> Captures<'a> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]