Rustc -Z ast-json documentation

Hello, is there documentation that can help me understand the output of this command rustc -Z ast-json file.rs and the output {"module":{"inner":{"lo":2,"hi":156},"items":[{"attrs":,"id":4294967040,"span":{"lo":2,"hi":85},"vis" .......... Thank you.

What particularly are you confused about? It appears to be a typical serialization of an AST.

The words retrieved (inner, lo, hi, span, vis, kind, .....) If i can find a detailed information it could be helpful. or is it possible to get the output of rustc -Z save-analysis file.rs without building the executable file?

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.