rustdoc-json: Path::name
docs say it only has the item name, but it has the full name.
#134853
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
A-rustdoc-json
Area: Rustdoc JSON backend
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Uh oh!
There was an error while loading. Please reload this page.
With this code:
Running
rustdoc +nightly ./demo.rs -wjson -Zunstable-options
gives:Where we have
"name": "foo::Bar"
However the docs for
Path::name
say:Either we need to change the docs, or the how the field is generated. I'm not certain which is better.
version: rustdoc 1.85.0-nightly (dd84b7d 2024-12-27)
Originally reported by @AS1100K as rust-lang/rustdoc-types#45
The text was updated successfully, but these errors were encountered: