-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add links for primitives in "jump to definition" feature #88033
Conversation
Some changes occurred in intra-doc-links. cc @jyn514 |
40fb279
to
f94a224
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this may be fixed without having to add all this extra work once #87073 is merged - do you mind waiting for that? You could also try rebasing over that in the meantime to see if the tests pass without your changes.
I'm totally fine with waiting for it! |
triage: fyi #87073 is still open |
f94a224
to
997b3b6
Compare
#87073 has been merged, the PR has been rebased and updated to take the changes into account making it much smaller. Ready for the next review round! :) |
You're right, this is a lot simpler now :) |
997b3b6
to
96c42f6
Compare
96c42f6
to
d73c0a3
Compare
Updated! |
r=me once CI is passing |
@bors: r=jyn514 |
📌 Commit d73c0a3 has been approved by |
…e, r=jyn514 Add links for primitives in "jump to definition" feature Follow-up of rust-lang#84176. I created a function `primitive_from_str` which is code that was originally in `collect_intra_doc_links::resolve_primitive` to prevent code duplication. I also created the `primitive_link_url` function which is somewhat similar to `primitive_link` but too much different to merge both of them. r? `@jyn514`
…laumeGomez Rollup of 7 pull requests Successful merges: - rust-lang#88033 (Add links for primitives in "jump to definition" feature) - rust-lang#88722 (Make `UnsafeCell::get_mut` const) - rust-lang#88851 (Fix duplicate bounds for const_trait_impl) - rust-lang#88859 (interpreter PointerArithmetic: use new Size helper methods) - rust-lang#88885 (Fix jump def background) - rust-lang#88894 (Improve error message for missing trait in trait impl) - rust-lang#88896 (Reduce possibility of flaky tests) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Follow-up of #84176.
I created a function
primitive_from_str
which is code that was originally incollect_intra_doc_links::resolve_primitive
to prevent code duplication.I also created the
primitive_link_url
function which is somewhat similar toprimitive_link
but too much different to merge both of them.Part of #89095.
r? @jyn514