Struct rustc_typeck::check::closure::ExpectedSig[][src]

struct ExpectedSig<'tcx> {
    cause_span: Option<Span>,
    sig: FnSig<'tcx>,
}
🔬 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?

What signature do we expect the closure to have from context?

Fields

🔬 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?

Span that gave us this expectation, if we know that.

🔬 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?

Trait Implementations

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

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

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