-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Fix invalid path generation in rustdoc search #50320
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix invalid path generation in rustdoc search #50320
Conversation
Being a "hot" bug fix and quite simple change, I'll go ahead for this one and r+ it myself. (If any issue, please r-!). @bors: r+ p=1 |
📌 Commit 72fd85a has been approved by |
⌛ Testing commit 72fd85a9f42e4edf713f95760491190ea4eb1fc9 with merge 74ec79b9aab2361cead60479c9f80b64e4ccb922... |
💔 Test failed - status-appveyor |
72fd85a
to
950c1d9
Compare
There doesn't seem to be any hurry here -- please don't r+ your own changes unless there is. I'm not really sure what's going on here, can you drop a comment in the file to explain why we slice off the last bit? |
Because this is the complete path, including the item's name. |
@bors r+ rollup |
📌 Commit 950c1d9 has been approved by |
@bors rollup- p=0 Got a test failure on
|
950c1d9
to
a876d28
Compare
@kennytm: done |
@bors r=QuietMisdreavus |
📌 Commit a876d28 has been approved by |
…ration, r=QuietMisdreavus Fix invalid path generation in rustdoc search Fixes rust-lang#50311.
Rollup of 12 pull requests Successful merges: - #50302 (Add query search order check) - #50320 (Fix invalid path generation in rustdoc search) - #50349 (Rename "show type declaration" to "show declaration") - #50360 (Clarify wordings of the `unstable_name_collision` lint.) - #50365 (Use two vectors in nearest_common_ancestor.) - #50393 (Allow unaligned reads in constants) - #50401 (Revert "Implement FromStr for PathBuf") - #50406 (Forbid constructing empty identifiers from concat_idents) - #50407 (Always inline simple BytePos and CharPos methods.) - #50416 (check if the token is a lifetime before parsing) - #50417 (Update Cargo) - #50421 (Fix ICE when using a..=b in a closure.) Failed merges:
Fixes #50311.
r? @QuietMisdreavus