| { |
| "crate": "rustc_ast", |
| "module": "ast", |
| "usages": [ |
| { |
| "symbol": "into_iter", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:197 ~ rustc_ast[4394]::ast::join_path_syms)", |
| "used_def_id": "DefId(2:9297 ~ core[4720]::iter::traits::collect::IntoIterator::into_iter)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "unwrap_or", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:197 ~ rustc_ast[4394]::ast::join_path_syms)", |
| "used_def_id": "DefId(2:10229 ~ core[4720]::option::{impl#0}::unwrap_or)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "size_hint", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:197 ~ rustc_ast[4394]::ast::join_path_syms)", |
| "used_def_id": "DefId(2:9433 ~ core[4720]::iter::traits::iterator::Iterator::size_hint)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "with_capacity", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:197 ~ rustc_ast[4394]::ast::join_path_syms)", |
| "used_def_id": "DefId(3:6421 ~ alloc[27b0]::string::{impl#0}::with_capacity)", |
| "user_crate": "rustc_ast", |
| "used_crate": "alloc" |
| }, |
| { |
| "symbol": "borrow", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:197 ~ rustc_ast[4394]::ast::join_path_syms)", |
| "used_def_id": "DefId(2:3105 ~ core[4720]::borrow::Borrow::borrow)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "unwrap", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:197 ~ rustc_ast[4394]::ast::join_path_syms)", |
| "used_def_id": "DefId(2:10228 ~ core[4720]::option::{impl#0}::unwrap)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "next", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:197 ~ rustc_ast[4394]::ast::join_path_syms)", |
| "used_def_id": "DefId(2:9429 ~ core[4720]::iter::traits::iterator::Iterator::next)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "ne", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:197 ~ rustc_ast[4394]::ast::join_path_syms)", |
| "used_def_id": "DefId(2:3216 ~ core[4720]::cmp::PartialEq::ne)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "push_str", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:197 ~ rustc_ast[4394]::ast::join_path_syms)", |
| "used_def_id": "DefId(3:6448 ~ alloc[27b0]::string::{impl#0}::push_str)", |
| "user_crate": "rustc_ast", |
| "used_crate": "alloc" |
| }, |
| { |
| "symbol": "as_str", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:197 ~ rustc_ast[4394]::ast::join_path_syms)", |
| "used_def_id": "DefId(20:812 ~ rustc_span[a891]::symbol::{impl#14}::as_str)", |
| "user_crate": "rustc_ast", |
| "used_crate": "rustc_span" |
| }, |
| { |
| "symbol": "None", |
| "kind": "enum_variant_usage", |
| "usage_count": 1, |
| "usage_type": "EnumVariant", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:197 ~ rustc_ast[4394]::ast::join_path_syms)", |
| "used_def_id": "DefId(2:49374 ~ core[4720]::option::Option::None)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "Some", |
| "kind": "enum_variant_usage", |
| "usage_count": 1, |
| "usage_type": "EnumVariant", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:197 ~ rustc_ast[4394]::ast::join_path_syms)", |
| "used_def_id": "DefId(2:49376 ~ core[4720]::option::Option::Some)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "borrow", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:197 ~ rustc_ast[4394]::ast::join_path_syms)", |
| "used_def_id": "DefId(2:3105 ~ core[4720]::borrow::Borrow::borrow)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "eq", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:197 ~ rustc_ast[4394]::ast::join_path_syms)", |
| "used_def_id": "DefId(2:3215 ~ core[4720]::cmp::PartialEq::eq)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "push_str", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:197 ~ rustc_ast[4394]::ast::join_path_syms)", |
| "used_def_id": "DefId(3:6448 ~ alloc[27b0]::string::{impl#0}::push_str)", |
| "user_crate": "rustc_ast", |
| "used_crate": "alloc" |
| }, |
| { |
| "symbol": "push_str", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:197 ~ rustc_ast[4394]::ast::join_path_syms)", |
| "used_def_id": "DefId(3:6448 ~ alloc[27b0]::string::{impl#0}::push_str)", |
| "user_crate": "rustc_ast", |
| "used_crate": "alloc" |
| }, |
| { |
| "symbol": "as_str", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:197 ~ rustc_ast[4394]::ast::join_path_syms)", |
| "used_def_id": "DefId(20:812 ~ rustc_span[a891]::symbol::{impl#14}::as_str)", |
| "user_crate": "rustc_ast", |
| "used_crate": "rustc_span" |
| }, |
| { |
| "symbol": "next", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:197 ~ rustc_ast[4394]::ast::join_path_syms)", |
| "used_def_id": "DefId(2:9429 ~ core[4720]::iter::traits::iterator::Iterator::next)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "into_iter", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:197 ~ rustc_ast[4394]::ast::join_path_syms)", |
| "used_def_id": "DefId(2:9297 ~ core[4720]::iter::traits::collect::IntoIterator::into_iter)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "into_iter", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:200 ~ rustc_ast[4394]::ast::join_path_idents)", |
| "used_def_id": "DefId(2:9297 ~ core[4720]::iter::traits::collect::IntoIterator::into_iter)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "unwrap_or", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:200 ~ rustc_ast[4394]::ast::join_path_idents)", |
| "used_def_id": "DefId(2:10229 ~ core[4720]::option::{impl#0}::unwrap_or)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "size_hint", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:200 ~ rustc_ast[4394]::ast::join_path_idents)", |
| "used_def_id": "DefId(2:9433 ~ core[4720]::iter::traits::iterator::Iterator::size_hint)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "with_capacity", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:200 ~ rustc_ast[4394]::ast::join_path_idents)", |
| "used_def_id": "DefId(3:6421 ~ alloc[27b0]::string::{impl#0}::with_capacity)", |
| "user_crate": "rustc_ast", |
| "used_crate": "alloc" |
| }, |
| { |
| "symbol": "borrow", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:200 ~ rustc_ast[4394]::ast::join_path_idents)", |
| "used_def_id": "DefId(2:3105 ~ core[4720]::borrow::Borrow::borrow)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "unwrap", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:200 ~ rustc_ast[4394]::ast::join_path_idents)", |
| "used_def_id": "DefId(2:10228 ~ core[4720]::option::{impl#0}::unwrap)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "next", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:200 ~ rustc_ast[4394]::ast::join_path_idents)", |
| "used_def_id": "DefId(2:9429 ~ core[4720]::iter::traits::iterator::Iterator::next)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "ne", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:200 ~ rustc_ast[4394]::ast::join_path_idents)", |
| "used_def_id": "DefId(2:3216 ~ core[4720]::cmp::PartialEq::ne)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "push_str", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:200 ~ rustc_ast[4394]::ast::join_path_idents)", |
| "used_def_id": "DefId(3:6448 ~ alloc[27b0]::string::{impl#0}::push_str)", |
| "user_crate": "rustc_ast", |
| "used_crate": "alloc" |
| }, |
| { |
| "symbol": "to_string", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:200 ~ rustc_ast[4394]::ast::join_path_idents)", |
| "used_def_id": "DefId(3:6619 ~ alloc[27b0]::string::ToString::to_string)", |
| "user_crate": "rustc_ast", |
| "used_crate": "alloc" |
| }, |
| { |
| "symbol": "None", |
| "kind": "enum_variant_usage", |
| "usage_count": 1, |
| "usage_type": "EnumVariant", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:200 ~ rustc_ast[4394]::ast::join_path_idents)", |
| "used_def_id": "DefId(2:49374 ~ core[4720]::option::Option::None)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "Some", |
| "kind": "enum_variant_usage", |
| "usage_count": 1, |
| "usage_type": "EnumVariant", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:200 ~ rustc_ast[4394]::ast::join_path_idents)", |
| "used_def_id": "DefId(2:49376 ~ core[4720]::option::Option::Some)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "borrow", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:200 ~ rustc_ast[4394]::ast::join_path_idents)", |
| "used_def_id": "DefId(2:3105 ~ core[4720]::borrow::Borrow::borrow)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "eq", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:200 ~ rustc_ast[4394]::ast::join_path_idents)", |
| "used_def_id": "DefId(2:3215 ~ core[4720]::cmp::PartialEq::eq)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "push_str", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:200 ~ rustc_ast[4394]::ast::join_path_idents)", |
| "used_def_id": "DefId(3:6448 ~ alloc[27b0]::string::{impl#0}::push_str)", |
| "user_crate": "rustc_ast", |
| "used_crate": "alloc" |
| }, |
| { |
| "symbol": "push_str", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:200 ~ rustc_ast[4394]::ast::join_path_idents)", |
| "used_def_id": "DefId(3:6448 ~ alloc[27b0]::string::{impl#0}::push_str)", |
| "user_crate": "rustc_ast", |
| "used_crate": "alloc" |
| }, |
| { |
| "symbol": "to_string", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:200 ~ rustc_ast[4394]::ast::join_path_idents)", |
| "used_def_id": "DefId(3:6619 ~ alloc[27b0]::string::ToString::to_string)", |
| "user_crate": "rustc_ast", |
| "used_crate": "alloc" |
| }, |
| { |
| "symbol": "next", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:200 ~ rustc_ast[4394]::ast::join_path_idents)", |
| "used_def_id": "DefId(2:9429 ~ core[4720]::iter::traits::iterator::Iterator::next)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| }, |
| { |
| "symbol": "into_iter", |
| "kind": "method_call", |
| "usage_count": 1, |
| "usage_type": "MethodCall", |
| "node_type": "Item", |
| "user_def_id": "DefId(0:200 ~ rustc_ast[4394]::ast::join_path_idents)", |
| "used_def_id": "DefId(2:9297 ~ core[4720]::iter::traits::collect::IntoIterator::into_iter)", |
| "user_crate": "rustc_ast", |
| "used_crate": "core" |
| } |
| ] |
| } |