about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-01-20 04:10:36 +0000
committerbors <bors@rust-lang.org>2021-01-20 04:10:36 +0000
commite05409a02c6e73a3dea6da98798468db2910ca59 (patch)
tree4c849cdc74529ddc0c66658320e92de9161e38c1 /compiler/rustc_parse/src
parent14265f9c5558e599ba8908cffc717f26389420e1 (diff)
parentba6803e6b4f397c6e13e58595b6f1f7ef7c4a00a (diff)
downloadrust-e05409a02c6e73a3dea6da98798468db2910ca59.tar.gz
rust-e05409a02c6e73a3dea6da98798468db2910ca59.zip
Auto merge of #81063 - CraftSpider:jsondocck, r=jyn514
Add JsonDocCk Tool for rustdoc-json

Implements a new test system for rustdoc JSON output, jsondocck. Modeled after htmldocck, this tool reads directives in the test file and checks them against the output. These directives use JSONPath, a pair to XPath for json. This obsoletes the old strict subset tool, allowing both finer-grained control of what is tested and better errors on failure.

Not sure on the changes to Cargo.lock, I can back that out if needed.

r? `@jyn514`
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions