Struct rustc_typeck::traits::error_reporting::suggestions::ReturnsVisitor [−][src]
Expand description
Collect all the returned expressions within the input expression. Used to point at the return spans when we want to suggest some change to them.
Fields
returns: Vec<&'v Expr<'v>, Global>in_block_tail: boolAuto Trait Implementations
impl<'v> RefUnwindSafe for ReturnsVisitor<'v>
impl<'v> !Send for ReturnsVisitor<'v>
impl<'v> !Sync for ReturnsVisitor<'v>
impl<'v> Unpin for ReturnsVisitor<'v>
impl<'v> UnwindSafe for ReturnsVisitor<'v>
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes