Skip to content

Instantly share code, notes, and snippets.

@jsgf
Created July 19, 2018 20:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jsgf/795180c6d8e159ca2712e795517ee952 to your computer and use it in GitHub Desktop.
Save jsgf/795180c6d8e159ca2712e795517ee952 to your computer and use it in GitHub Desktop.
Prettified save-analysis output
{
"config": {
"borrow_data": false,
"distro_crate": false,
"full_docs": false,
"output_file": null,
"pub_only": false,
"reachable_only": false,
"signatures": false
},
"defs": [
{
"attributes": [],
"children": [
{
"index": 2,
"krate": 0
},
{
"index": 4,
"krate": 0
},
{
"index": 6,
"krate": 0
}
],
"decl_id": null,
"docs": "",
"id": {
"index": 0,
"krate": 0
},
"kind": "Mod",
"name": "",
"parent": null,
"qualname": "::",
"sig": null,
"span": {
"byte_end": 15,
"byte_start": 0,
"column_end": 16,
"column_start": 1,
"file_name": [
116,
46,
114,
115
],
"line_end": 1,
"line_start": 1
},
"value": "t.rs"
},
{
"attributes": [],
"children": [],
"decl_id": null,
"docs": "",
"id": {
"index": 6,
"krate": 0
},
"kind": "Struct",
"name": "Foo",
"parent": null,
"qualname": "::Foo",
"sig": null,
"span": {
"byte_end": 14,
"byte_start": 11,
"column_end": 15,
"column_start": 12,
"file_name": [
116,
46,
114,
115
],
"line_end": 1,
"line_start": 1
},
"value": ""
}
],
"impls": [],
"imports": [],
"macro_refs": [],
"prelude": {
"crate_id": {
"disambiguator": [
9766042864775257581,
3990850908181269376
],
"name": "t"
},
"crate_root": "",
"external_crates": [
{
"file_name": "/Users/jsgf/t.rs",
"id": {
"disambiguator": [
287500826263317014,
5864436369277545838
],
"name": "std"
},
"num": 1
},
{
"file_name": "/Users/jsgf/t.rs",
"id": {
"disambiguator": [
7589279258191213027,
16979855663396010215
],
"name": "core"
},
"num": 2
},
{
"file_name": "/Users/jsgf/t.rs",
"id": {
"disambiguator": [
12893612616886896450,
4752124454936863669
],
"name": "compiler_builtins"
},
"num": 3
},
{
"file_name": "/Users/jsgf/t.rs",
"id": {
"disambiguator": [
4876963619877543710,
15816720623352530537
],
"name": "alloc"
},
"num": 4
},
{
"file_name": "/Users/jsgf/t.rs",
"id": {
"disambiguator": [
7819801880367106180,
9921983424619172256
],
"name": "alloc_system"
},
"num": 5
},
{
"file_name": "/Users/jsgf/t.rs",
"id": {
"disambiguator": [
15191900459837984365,
11292715096984810085
],
"name": "libc"
},
"num": 6
},
{
"file_name": "/Users/jsgf/t.rs",
"id": {
"disambiguator": [
8793760740901115824,
1850842544486437333
],
"name": "unwind"
},
"num": 7
},
{
"file_name": "/Users/jsgf/t.rs",
"id": {
"disambiguator": [
360526522134607499,
13509481956224943275
],
"name": "alloc_jemalloc"
},
"num": 8
},
{
"file_name": "/Users/jsgf/t.rs",
"id": {
"disambiguator": [
2698433076211075157,
421404856676110761
],
"name": "panic_unwind"
},
"num": 9
}
],
"span": {
"byte_end": 15,
"byte_start": 0,
"column_end": 16,
"column_start": 1,
"file_name": [
116,
46,
114,
115
],
"line_end": 1,
"line_start": 1
}
},
"refs": [
{
"kind": "Mod",
"ref_id": {
"index": 4294967295,
"krate": 4294967295
},
"span": {
"byte_end": 0,
"byte_start": 0,
"column_end": 1,
"column_start": 1,
"file_name": [
116,
46,
114,
115
],
"line_end": 1,
"line_start": 1
}
},
{
"kind": "Mod",
"ref_id": {
"index": 4294967295,
"krate": 4294967295
},
"span": {
"byte_end": 0,
"byte_start": 0,
"column_end": 1,
"column_start": 1,
"file_name": [
116,
46,
114,
115
],
"line_end": 1,
"line_start": 1
}
},
{
"kind": "Mod",
"ref_id": {
"index": 4294967295,
"krate": 4294967295
},
"span": {
"byte_end": 0,
"byte_start": 0,
"column_end": 1,
"column_start": 1,
"file_name": [
116,
46,
114,
115
],
"line_end": 1,
"line_start": 1
}
}
],
"relations": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment