about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
diff options
context:
space:
mode:
authorNixon Enraght-Moony <nixon.emoony@gmail.com>2023-01-02 20:15:45 +0000
committerNixon Enraght-Moony <nixon.emoony@gmail.com>2023-01-03 14:54:46 +0000
commit226ab7fd759d94e81d6831f869e41502a7f183c7 (patch)
tree607d51cb6f5cb9883068c5a2834153dd7a30dee1 /compiler/rustc_parse/src/errors.rs
parent95329080d317f01f22ddce1dec8be693ef4b29f4 (diff)
downloadrust-226ab7fd759d94e81d6831f869e41502a7f183c7.tar.gz
rust-226ab7fd759d94e81d6831f869e41502a7f183c7.zip
jsondoclint: Add option to dump errors as json.
The output looks like:
{
  "errors": [
    {
      "id": "2:2017:1833",
      "kind": {
        "NotFound": [
          [
            {"Field": "index"},
            {"Field": "0:0:1571"},
            {"Field": "links"},
            {"Field": "pointer::read"}
          ]
        ]
      }
    }
  ],
  "path": "/home/nixon/dev/rust/rust/build/x86_64-unknown-linux-gnu/test/rustdoc-json/intra-doc-links/pointer_method/pointer_method.json"
}
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions