diff options
author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2023-02-19 14:47:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-19 14:47:55 +0100 |
commit | 49d7ed1dbef6744cd9a27fdae086c9b80fb4ed46 (patch) | |
tree | f9bc490bde2f48a91785d79ebc4910ed40029d89 /tests/rustdoc-js-std/parser-errors.js | |
parent | eebdfb55fce148676c24555505aebf648123b2de (diff) | |
parent | 1ae875f0a30b7a71755fac43a8c6fe00dd205d33 (diff) | |
download | rust-49d7ed1dbef6744cd9a27fdae086c9b80fb4ed46.tar.gz |
Rollup merge of #107766 - GuillaumeGomez:fix-json-reexports-of-different-items-with-same-name, r=aDotInTheVoid
Fix json reexports of different items with same name
Fixes #107677.
I renamed `from_item_id*` functions into `id_from_item` instead because it makes more sense now. I also simplified the logic around it a bit so that the `ids` function will now directly pass `&clean::Item` to `id_from_item` and the ID will be consistently generated (it caused an issue when I updated the ID for imports).
So now, the big change of this PR: I changed how imports' ID is generated: it now includes the target item's ID at the end of the ID. It's to prevent two reexported items with the same name (but different types).
r? `@aDotInTheVoid`
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions