Struct rustc_typeck::errors::ReturnStmtOutsideOfFnBody [−][src]
pub struct ReturnStmtOutsideOfFnBody {
pub span: Span,
}Fields
span: SpanTrait Implementations
impl<'__session_diagnostic_sess> SessionDiagnostic<'__session_diagnostic_sess> for ReturnStmtOutsideOfFnBody
[src]
impl<'__session_diagnostic_sess> SessionDiagnostic<'__session_diagnostic_sess> for ReturnStmtOutsideOfFnBody
[src]fn into_diagnostic(
self,
sess: &'__session_diagnostic_sess Session
) -> DiagnosticBuilder<'__session_diagnostic_sess>
[src]
fn into_diagnostic(
self,
sess: &'__session_diagnostic_sess Session
) -> DiagnosticBuilder<'__session_diagnostic_sess>
[src]Write out as a diagnostic out of sess.
Auto Trait Implementations
impl RefUnwindSafe for ReturnStmtOutsideOfFnBody
impl !Send for ReturnStmtOutsideOfFnBody
impl !Sync for ReturnStmtOutsideOfFnBody
impl Unpin for ReturnStmtOutsideOfFnBody
impl UnwindSafe for ReturnStmtOutsideOfFnBody
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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: 8 bytes