Struct rustc_save_analysis::dump_visitor::DumpVisitor [−][src]
pub struct DumpVisitor<'l, 'tcx: 'l, 'll, O: DumpOutput + 'll> { save_ctxt: SaveContext<'l, 'tcx>, tcx: TyCtxt<'l, 'tcx, 'tcx>, dumper: &'ll mut JsonDumper<O>, span: SpanUtils<'l>, cur_scope: NodeId, macro_calls: FxHashSet<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
save_ctxt: SaveContext<'l, '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?
tcx: TyCtxt<'l, 'tcx, '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?
dumper: &'ll mut JsonDumper<O>
🔬 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: SpanUtils<'l>
🔬 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?
cur_scope: 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?
macro_calls: FxHashSet<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?
Methods
impl<'l, 'tcx: 'l, 'll, O: DumpOutput + 'll> DumpVisitor<'l, 'tcx, 'll, O>
[src]
impl<'l, 'tcx: 'l, 'll, O: DumpOutput + 'll> DumpVisitor<'l, 'tcx, 'll, O>
pub fn new(
save_ctxt: SaveContext<'l, 'tcx>,
dumper: &'ll mut JsonDumper<O>
) -> DumpVisitor<'l, 'tcx, 'll, O>
[src]
pub fn new(
save_ctxt: SaveContext<'l, 'tcx>,
dumper: &'ll mut JsonDumper<O>
) -> DumpVisitor<'l, 'tcx, 'll, O>
🔬 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 nest_scope<F>(&mut self, scope_id: NodeId, f: F) where
F: FnOnce(&mut DumpVisitor<'l, 'tcx, 'll, O>),
[src]
fn nest_scope<F>(&mut self, scope_id: NodeId, f: F) where
F: FnOnce(&mut DumpVisitor<'l, 'tcx, 'll, O>),
🔬 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 nest_tables<F>(&mut self, item_id: NodeId, f: F) where
F: FnOnce(&mut DumpVisitor<'l, 'tcx, 'll, O>),
[src]
fn nest_tables<F>(&mut self, item_id: NodeId, f: F) where
F: FnOnce(&mut DumpVisitor<'l, 'tcx, 'll, O>),
🔬 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 span_from_span(&self, span: Span) -> SpanData
[src]
fn span_from_span(&self, span: Span) -> SpanData
🔬 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?
pub fn dump_crate_info(&mut self, name: &str, krate: &Crate)
[src]
pub fn dump_crate_info(&mut self, name: &str, krate: &Crate)
🔬 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 process_path_prefixes(&self, path: &Path) -> Vec<(Span, String)>
[src]
fn process_path_prefixes(&self, path: &Path) -> Vec<(Span, String)>
🔬 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 write_sub_paths(&mut self, path: &Path)
[src]
fn write_sub_paths(&mut self, path: &Path)
🔬 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 write_sub_paths_truncated(&mut self, path: &Path)
[src]
fn write_sub_paths_truncated(&mut self, path: &Path)
🔬 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 write_sub_path_trait_truncated(&mut self, path: &Path)
[src]
fn write_sub_path_trait_truncated(&mut self, path: &Path)
🔬 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 lookup_def_id(&self, ref_id: NodeId) -> Option<DefId>
[src]
fn lookup_def_id(&self, ref_id: NodeId) -> Option<DefId>
🔬 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 process_formals(&mut self, formals: &'l [Arg], qualname: &str)
[src]
fn process_formals(&mut self, formals: &'l [Arg], qualname: &str)
🔬 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 process_method(
&mut self,
sig: &'l MethodSig,
body: Option<&'l Block>,
id: NodeId,
name: Ident,
generics: &'l Generics,
vis: Visibility,
span: Span
)
[src]
fn process_method(
&mut self,
sig: &'l MethodSig,
body: Option<&'l Block>,
id: NodeId,
name: Ident,
generics: &'l Generics,
vis: Visibility,
span: 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?
fn process_struct_field_def(&mut self, field: &StructField, parent_id: NodeId)
[src]
fn process_struct_field_def(&mut self, field: &StructField, parent_id: 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 process_generic_params(
&mut self,
generics: &'l Generics,
full_span: Span,
prefix: &str,
id: NodeId
)
[src]
fn process_generic_params(
&mut self,
generics: &'l Generics,
full_span: Span,
prefix: &str,
id: 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 process_fn(
&mut self,
item: &'l Item,
decl: &'l FnDecl,
ty_params: &'l Generics,
body: &'l Block
)
[src]
fn process_fn(
&mut self,
item: &'l Item,
decl: &'l FnDecl,
ty_params: &'l Generics,
body: &'l Block
)
🔬 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 process_static_or_const_item(
&mut self,
item: &'l Item,
typ: &'l Ty,
expr: &'l Expr
)
[src]
fn process_static_or_const_item(
&mut self,
item: &'l Item,
typ: &'l Ty,
expr: &'l Expr
)
🔬 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 process_assoc_const(
&mut self,
id: NodeId,
name: Name,
span: Span,
typ: &'l Ty,
expr: Option<&'l Expr>,
parent_id: DefId,
vis: Visibility,
attrs: &'l [Attribute]
)
[src]
fn process_assoc_const(
&mut self,
id: NodeId,
name: Name,
span: Span,
typ: &'l Ty,
expr: Option<&'l Expr>,
parent_id: DefId,
vis: Visibility,
attrs: &'l [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 process_struct(
&mut self,
item: &'l Item,
def: &'l VariantData,
ty_params: &'l Generics
)
[src]
fn process_struct(
&mut self,
item: &'l Item,
def: &'l VariantData,
ty_params: &'l Generics
)
🔬 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 process_enum(
&mut self,
item: &'l Item,
enum_definition: &'l EnumDef,
ty_params: &'l Generics
)
[src]
fn process_enum(
&mut self,
item: &'l Item,
enum_definition: &'l EnumDef,
ty_params: &'l Generics
)
🔬 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 process_impl(
&mut self,
item: &'l Item,
type_parameters: &'l Generics,
trait_ref: &'l Option<TraitRef>,
typ: &'l Ty,
impl_items: &'l [ImplItem]
)
[src]
fn process_impl(
&mut self,
item: &'l Item,
type_parameters: &'l Generics,
trait_ref: &'l Option<TraitRef>,
typ: &'l Ty,
impl_items: &'l [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?
fn process_trait(
&mut self,
item: &'l Item,
generics: &'l Generics,
trait_refs: &'l TyParamBounds,
methods: &'l [TraitItem]
)
[src]
fn process_trait(
&mut self,
item: &'l Item,
generics: &'l Generics,
trait_refs: &'l TyParamBounds,
methods: &'l [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 process_mod(&mut self, item: &Item)
[src]
fn process_mod(&mut self, item: &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 dump_path_ref(&mut self, id: NodeId, path: &Path)
[src]
fn dump_path_ref(&mut self, id: NodeId, path: &Path)
🔬 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 process_path(&mut self, id: NodeId, path: &'l Path)
[src]
fn process_path(&mut self, id: NodeId, path: &'l Path)
🔬 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 process_struct_lit(
&mut self,
ex: &'l Expr,
path: &'l Path,
fields: &'l [Field],
variant: &'l VariantDef,
base: &'l Option<P<Expr>>
)
[src]
fn process_struct_lit(
&mut self,
ex: &'l Expr,
path: &'l Path,
fields: &'l [Field],
variant: &'l VariantDef,
base: &'l Option<P<Expr>>
)
🔬 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 process_method_call(
&mut self,
ex: &'l Expr,
seg: &'l PathSegment,
args: &'l [P<Expr>]
)
[src]
fn process_method_call(
&mut self,
ex: &'l Expr,
seg: &'l PathSegment,
args: &'l [P<Expr>]
)
🔬 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 process_pat(&mut self, p: &'l Pat)
[src]
fn process_pat(&mut self, p: &'l Pat)
🔬 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 process_var_decl_multi(&mut self, pats: &'l [P<Pat>])
[src]
fn process_var_decl_multi(&mut self, pats: &'l [P<Pat>])
🔬 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 process_var_decl(&mut self, p: &'l Pat, value: String)
[src]
fn process_var_decl(&mut self, p: &'l Pat, value: String)
🔬 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 process_macro_use(&mut self, span: Span)
[src]
fn process_macro_use(&mut self, span: 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?
Extract macro use and definition information from the AST node defined by the given NodeId, using the expansion information from the node's span.
If the span is not macro-generated, do nothing, else use callee and callsite spans to record macro definition and use data, using the mac_uses and mac_defs sets to prevent multiples.
fn process_trait_item(&mut self, trait_item: &'l TraitItem, trait_id: DefId)
[src]
fn process_trait_item(&mut self, trait_item: &'l TraitItem, trait_id: DefId)
🔬 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 process_impl_item(&mut self, impl_item: &'l ImplItem, impl_id: DefId)
[src]
fn process_impl_item(&mut self, impl_item: &'l ImplItem, impl_id: DefId)
🔬 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 process_use_tree(
&mut self,
use_tree: &'l UseTree,
id: NodeId,
root_item: &'l Item,
prefix: &Path
)
[src]
fn process_use_tree(
&mut self,
use_tree: &'l UseTree,
id: NodeId,
root_item: &'l Item,
prefix: &Path
)
🔬 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?
Dumps imports in a use tree recursively.
A use tree is an import that may contain nested braces (RFC 2128). The use_tree
parameter
is the current use tree under scrutiny, while id
and prefix
are its corresponding node
id and path. root_item
is the topmost use tree in the hierarchy.
If use_tree
is a simple or glob import, it is dumped into the analysis data. Otherwise,
each child use tree is dumped recursively.
Trait Implementations
impl<'l, 'tcx: 'l, 'll, O: DumpOutput + 'll> Visitor<'l> for DumpVisitor<'l, 'tcx, 'll, O>
[src]
impl<'l, 'tcx: 'l, 'll, O: DumpOutput + 'll> Visitor<'l> for DumpVisitor<'l, 'tcx, 'll, O>
fn visit_mod(&mut self, m: &'l Mod, span: Span, attrs: &[Attribute], id: NodeId)
[src]
fn visit_mod(&mut self, m: &'l Mod, span: Span, attrs: &[Attribute], id: 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 visit_item(&mut self, item: &'l Item)
[src]
fn visit_item(&mut self, item: &'l 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_generics(&mut self, generics: &'l Generics)
[src]
fn visit_generics(&mut self, generics: &'l Generics)
🔬 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_ty(&mut self, t: &'l Ty)
[src]
fn visit_ty(&mut self, t: &'l Ty)
🔬 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_expr(&mut self, ex: &'l Expr)
[src]
fn visit_expr(&mut self, ex: &'l Expr)
🔬 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_mac(&mut self, mac: &'l Mac)
[src]
fn visit_mac(&mut self, mac: &'l Mac)
🔬 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_pat(&mut self, p: &'l Pat)
[src]
fn visit_pat(&mut self, p: &'l Pat)
🔬 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_arm(&mut self, arm: &'l Arm)
[src]
fn visit_arm(&mut self, arm: &'l Arm)
🔬 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_path(&mut self, p: &'l Path, id: NodeId)
[src]
fn visit_path(&mut self, p: &'l Path, id: 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 visit_stmt(&mut self, s: &'l Stmt)
[src]
fn visit_stmt(&mut self, s: &'l Stmt)
🔬 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_local(&mut self, l: &'l Local)
[src]
fn visit_local(&mut self, l: &'l Local)
🔬 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_foreign_item(&mut self, item: &'l ForeignItem)
[src]
fn visit_foreign_item(&mut self, item: &'l ForeignItem)
🔬 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_name(&mut self, _span: Span, _name: Symbol)
[src]
fn visit_name(&mut self, _span: Span, _name: Symbol)
🔬 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_ident(&mut self, ident: Ident)
[src]
fn visit_ident(&mut self, ident: Ident)
🔬 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_global_asm(&mut self, ga: &'ast GlobalAsm)
[src]
fn visit_global_asm(&mut self, ga: &'ast GlobalAsm)
🔬 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_block(&mut self, b: &'ast Block)
[src]
fn visit_block(&mut self, b: &'ast Block)
🔬 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_anon_const(&mut self, c: &'ast AnonConst)
[src]
fn visit_anon_const(&mut self, c: &'ast AnonConst)
🔬 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_expr_post(&mut self, _ex: &'ast Expr)
[src]
fn visit_expr_post(&mut self, _ex: &'ast Expr)
🔬 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_generic_param(&mut self, param: &'ast GenericParam)
[src]
fn visit_generic_param(&mut self, param: &'ast GenericParam)
🔬 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_where_predicate(&mut self, p: &'ast WherePredicate)
[src]
fn visit_where_predicate(&mut self, p: &'ast WherePredicate)
🔬 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_fn(&mut self, fk: FnKind<'ast>, fd: &'ast FnDecl, s: Span, NodeId)
[src]
fn visit_fn(&mut self, fk: FnKind<'ast>, fd: &'ast FnDecl, s: Span, 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 visit_trait_item(&mut self, ti: &'ast TraitItem)
[src]
fn visit_trait_item(&mut self, ti: &'ast 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, ii: &'ast ImplItem)
[src]
fn visit_impl_item(&mut self, ii: &'ast 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?
fn visit_trait_ref(&mut self, t: &'ast TraitRef)
[src]
fn visit_trait_ref(&mut self, t: &'ast TraitRef)
🔬 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_ty_param_bound(&mut self, bounds: &'ast TyParamBound)
[src]
fn visit_ty_param_bound(&mut self, bounds: &'ast TyParamBound)
🔬 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_poly_trait_ref(
&mut self,
t: &'ast PolyTraitRef,
m: &'ast TraitBoundModifier
)
[src]
fn visit_poly_trait_ref(
&mut self,
t: &'ast PolyTraitRef,
m: &'ast TraitBoundModifier
)
🔬 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_variant_data(
&mut self,
s: &'ast VariantData,
Ident,
&'ast Generics,
NodeId,
Span
)
[src]
fn visit_variant_data(
&mut self,
s: &'ast VariantData,
Ident,
&'ast Generics,
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?
fn visit_struct_field(&mut self, s: &'ast StructField)
[src]
fn visit_struct_field(&mut self, s: &'ast StructField)
🔬 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_enum_def(
&mut self,
enum_definition: &'ast EnumDef,
generics: &'ast Generics,
item_id: NodeId,
Span
)
[src]
fn visit_enum_def(
&mut self,
enum_definition: &'ast EnumDef,
generics: &'ast Generics,
item_id: 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?
fn visit_variant(
&mut self,
v: &'ast Spanned<Variant_>,
g: &'ast Generics,
item_id: NodeId
)
[src]
fn visit_variant(
&mut self,
v: &'ast Spanned<Variant_>,
g: &'ast Generics,
item_id: 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 visit_label(&mut self, label: &'ast Label)
[src]
fn visit_label(&mut self, label: &'ast Label)
🔬 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_lifetime(&mut self, lifetime: &'ast Lifetime)
[src]
fn visit_lifetime(&mut self, lifetime: &'ast Lifetime)
🔬 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_mac_def(&mut self, _mac: &'ast MacroDef, _id: NodeId)
[src]
fn visit_mac_def(&mut self, _mac: &'ast MacroDef, _id: 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 visit_use_tree(&mut self, use_tree: &'ast UseTree, id: NodeId, _nested: bool)
[src]
fn visit_use_tree(&mut self, use_tree: &'ast UseTree, id: NodeId, _nested: 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_path_segment(
&mut self,
path_span: Span,
path_segment: &'ast PathSegment
)
[src]
fn visit_path_segment(
&mut self,
path_span: Span,
path_segment: &'ast PathSegment
)
🔬 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_path_parameters(
&mut self,
path_span: Span,
path_parameters: &'ast PathParameters
)
[src]
fn visit_path_parameters(
&mut self,
path_span: Span,
path_parameters: &'ast PathParameters
)
🔬 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_assoc_type_binding(&mut self, type_binding: &'ast TypeBinding)
[src]
fn visit_assoc_type_binding(&mut self, type_binding: &'ast TypeBinding)
🔬 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_attribute(&mut self, attr: &'ast Attribute)
[src]
fn visit_attribute(&mut self, attr: &'ast 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 visit_tt(&mut self, tt: TokenTree)
[src]
fn visit_tt(&mut self, tt: TokenTree)
🔬 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_tts(&mut self, tts: TokenStream)
[src]
fn visit_tts(&mut self, tts: TokenStream)
🔬 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_token(&mut self, _t: Token)
[src]
fn visit_token(&mut self, _t: Token)
🔬 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_vis(&mut self, vis: &'ast Spanned<VisibilityKind>)
[src]
fn visit_vis(&mut self, vis: &'ast Spanned<VisibilityKind>)
🔬 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_fn_ret_ty(&mut self, ret_ty: &'ast FunctionRetTy)
[src]
fn visit_fn_ret_ty(&mut self, ret_ty: &'ast FunctionRetTy)
🔬 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<'l, 'tcx, 'll, O> !Send for DumpVisitor<'l, 'tcx, 'll, O>
impl<'l, 'tcx, 'll, O> !Send for DumpVisitor<'l, 'tcx, 'll, O>
impl<'l, 'tcx, 'll, O> !Sync for DumpVisitor<'l, 'tcx, 'll, O>
impl<'l, 'tcx, 'll, O> !Sync for DumpVisitor<'l, 'tcx, 'll, O>