about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-31 10:08:52 +0200
committerGitHub <noreply@github.com>2024-08-31 10:08:52 +0200
commitdefc245d0661e8a994b3130cdd3514dd3b057e03 (patch)
treeb44b6368ada7a2ec815cd06d727fe97912810260 /tests/rustdoc-js-std/parser-errors.js
parent1f0292bb8f8d97bb87993d1742423da01bcbc8fa (diff)
parent6ed283bb346ef7da1a476bd84fca53c188d3907e (diff)
downloadrust-defc245d0661e8a994b3130cdd3514dd3b057e03.tar.gz
rust-defc245d0661e8a994b3130cdd3514dd3b057e03.zip
Rollup merge of #129123 - aDotInTheVoid:rustdoc-json-self, r=fmease
rustdoc-json: Add test for `Self` type

Inspired by #128471, the rustdoc-json suite had no tests in place for the `Self` type. This PR adds one.

I've also manually checked locally that this test passes on 29e924841f06bb181d87494eba2783761bc1ddec, confirming that adding `clean::Type::SelfTy` didn't change the JSON output. (potentially adding a self type to json (insead of (ab)using generic) is tracked in #128522)

Updates #81359

r? ````````@fmease````````
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions