Struct rustc::middle::entry::EntryContext [−][src]
struct EntryContext<'a, 'tcx: 'a> { session: &'a Session, map: &'a Map<'tcx>, main_fn: Option<(NodeId, Span)>, attr_main_fn: Option<(NodeId, Span)>, start_fn: Option<(NodeId, Span)>, non_main_fns: Vec<(NodeId, Span)>, }
🔬 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?
Fields
session: &'a Session
🔬 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?
map: &'a Map<'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?
main_fn: Option<(NodeId, Span)>
🔬 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?
attr_main_fn: Option<(NodeId, Span)>
🔬 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?
start_fn: Option<(NodeId, Span)>
🔬 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?
non_main_fns: Vec<(NodeId, Span)>
🔬 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<'a, 'tcx> ItemLikeVisitor<'tcx> for EntryContext<'a, 'tcx>
[src]
impl<'a, 'tcx> ItemLikeVisitor<'tcx> for EntryContext<'a, 'tcx>
fn visit_item(&mut self, item: &'tcx Item)
[src]
fn visit_item(&mut self, item: &'tcx Item)
🔬 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?
fn visit_trait_item(&mut self, _trait_item: &'tcx TraitItem)
[src]
fn visit_trait_item(&mut self, _trait_item: &'tcx TraitItem)
🔬 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?
fn visit_impl_item(&mut self, _impl_item: &'tcx ImplItem)
[src]
fn visit_impl_item(&mut self, _impl_item: &'tcx ImplItem)
🔬 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?
Auto Trait Implementations
impl<'a, 'tcx> !Send for EntryContext<'a, 'tcx>
impl<'a, 'tcx> !Send for EntryContext<'a, 'tcx>
impl<'a, 'tcx> !Sync for EntryContext<'a, 'tcx>
impl<'a, 'tcx> !Sync for EntryContext<'a, 'tcx>