Struct rustc_infer::infer::error_reporting::nice_region_error::util::AnonymousParamInfo [−][src]
pub(super) struct AnonymousParamInfo<'tcx> {
pub param: &'tcx Param<'tcx>,
pub param_ty: Ty<'tcx>,
pub bound_region: BoundRegionKind,
pub param_ty_span: Span,
pub is_first: bool,
}Expand description
Information about the anonymous region we are searching for.
Fields
param: &'tcx Param<'tcx>Expand description
The parameter corresponding to the anonymous region.
param_ty: Ty<'tcx>Expand description
The type corresponding to the anonymous region parameter.
bound_region: BoundRegionKindExpand description
The ty::BoundRegionKind corresponding to the anonymous region.
param_ty_span: SpanExpand description
The Span of the parameter type.
is_first: boolExpand description
Signals that the argument is the first parameter in the declaration.
Trait Implementations
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> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]fn with_constness(self, constness: Constness) -> ConstnessAnd<Self>[src]
fn with_const(self) -> ConstnessAnd<Self>[src]
fn without_const(self) -> ConstnessAnd<Self>[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,