[−][src]Trait syntax::ext::base::Resolver
🔬 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?
Required Methods
fn next_node_id(&mut self) -> NodeId
🔬 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 get_module_scope(&mut self, id: NodeId) -> Mark
🔬 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 eliminate_crate_var(&mut self, item: P<Item>) -> P<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 is_whitelisted_legacy_custom_derive(&self, name: Name) -> bool
🔬 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_ast_fragment_with_placeholders(
&mut self,
mark: Mark,
fragment: &AstFragment,
derives: &[Mark]
)
&mut self,
mark: Mark,
fragment: &AstFragment,
derives: &[Mark]
)
🔬 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 add_builtin(&mut self, ident: Ident, ext: Lrc<SyntaxExtension>)
🔬 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 resolve_imports(&mut self)
🔬 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 find_legacy_attr_invoc(
&mut self,
attrs: &mut Vec<Attribute>,
allow_derive: bool
) -> Option<Attribute>
&mut self,
attrs: &mut Vec<Attribute>,
allow_derive: bool
) -> Option<Attribute>
🔬 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 resolve_macro_invocation(
&mut self,
invoc: &Invocation,
invoc_id: Mark,
force: bool
) -> Result<Option<Lrc<SyntaxExtension>>, Determinacy>
&mut self,
invoc: &Invocation,
invoc_id: Mark,
force: bool
) -> Result<Option<Lrc<SyntaxExtension>>, Determinacy>
🔬 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 resolve_macro_path(
&mut self,
path: &Path,
kind: MacroKind,
invoc_id: Mark,
derives_in_scope: Vec<Path>,
force: bool
) -> Result<Lrc<SyntaxExtension>, Determinacy>
&mut self,
path: &Path,
kind: MacroKind,
invoc_id: Mark,
derives_in_scope: Vec<Path>,
force: bool
) -> Result<Lrc<SyntaxExtension>, Determinacy>
🔬 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 check_unused_macros(&self)
🔬 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?
Implementors
impl Resolver for DummyResolver
[src]
impl Resolver for DummyResolver
fn next_node_id(&mut self) -> NodeId
[src]
fn next_node_id(&mut self) -> NodeId
🔬 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 get_module_scope(&mut self, _id: NodeId) -> Mark
[src]
fn get_module_scope(&mut self, _id: NodeId) -> Mark
🔬 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 eliminate_crate_var(&mut self, item: P<Item>) -> P<Item>
[src]
fn eliminate_crate_var(&mut self, item: P<Item>) -> P<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 is_whitelisted_legacy_custom_derive(&self, _name: Name) -> bool
[src]
fn is_whitelisted_legacy_custom_derive(&self, _name: Name) -> bool
🔬 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_ast_fragment_with_placeholders(
&mut self,
_invoc: Mark,
_fragment: &AstFragment,
_derives: &[Mark]
)
[src]
fn visit_ast_fragment_with_placeholders(
&mut self,
_invoc: Mark,
_fragment: &AstFragment,
_derives: &[Mark]
)
🔬 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 add_builtin(&mut self, _ident: Ident, _ext: Lrc<SyntaxExtension>)
[src]
fn add_builtin(&mut self, _ident: Ident, _ext: Lrc<SyntaxExtension>)
🔬 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 resolve_imports(&mut self)
[src]
fn resolve_imports(&mut self)
🔬 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 find_legacy_attr_invoc(
&mut self,
_attrs: &mut Vec<Attribute>,
_allow_derive: bool
) -> Option<Attribute>
[src]
fn find_legacy_attr_invoc(
&mut self,
_attrs: &mut Vec<Attribute>,
_allow_derive: bool
) -> Option<Attribute>
🔬 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 resolve_macro_invocation(
&mut self,
_invoc: &Invocation,
_invoc_id: Mark,
_force: bool
) -> Result<Option<Lrc<SyntaxExtension>>, Determinacy>
[src]
fn resolve_macro_invocation(
&mut self,
_invoc: &Invocation,
_invoc_id: Mark,
_force: bool
) -> Result<Option<Lrc<SyntaxExtension>>, Determinacy>
🔬 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 resolve_macro_path(
&mut self,
_path: &Path,
_kind: MacroKind,
_invoc_id: Mark,
_derives_in_scope: Vec<Path>,
_force: bool
) -> Result<Lrc<SyntaxExtension>, Determinacy>
[src]
fn resolve_macro_path(
&mut self,
_path: &Path,
_kind: MacroKind,
_invoc_id: Mark,
_derives_in_scope: Vec<Path>,
_force: bool
) -> Result<Lrc<SyntaxExtension>, Determinacy>
🔬 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 check_unused_macros(&self)
[src]
fn check_unused_macros(&self)
🔬 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?