-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Fix rustdoc
argument error
#88831
Fix rustdoc
argument error
#88831
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
r? @jyn514 |
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.
Please add a test for this - it would go somewhere in run-make
, there should be existing rustdoc tests there you can use as examples.
Can you add a test in |
This comment has been minimized.
This comment has been minimized.
Thank you for the prompt review! :) |
Just in case you don't know how to run tests: $ x.py test src/test/rustdoc --stage 1
$ x.py test src/test/rustdoc-ui --stage 1 If one of the two doesn't work, it's very likely your change which broke them. |
Thank you. I indeed did not test the right way. I just ran |
4061f3b
to
272efdd
Compare
272efdd
to
ed9b77b
Compare
This comment has been minimized.
This comment has been minimized.
da065fa
to
3c0e6d6
Compare
Looks good to me, thanks! Wanna take a last look @jyn514 ? |
3c0e6d6
to
fe87d1c
Compare
Hi @inashivb do you know how to make progress here? Do you need help? |
Hi @Dylan-DPC ! thanks for tagging me. I must have missed the notifications for change in labels. Could you please take a look at the branch now? |
@bors r=GuillaumeGomez,notriddle rollup=never |
📌 Commit d532d36 has been approved by |
⌛ Testing commit d532d36 with merge 4f2debcec269b9b4f82c6afff01890547d2c07d1... |
💔 Test failed - checks-actions |
The job Click to see the possible cause of the failure (guessed by this bot)
|
I see the cause of failure as
Is there a VERSION or something env var? I tried looking for version in small and caps but can't see rust specific version setting. Could you please assist here? |
Yeah, it's called |
I did a bors resync and this seems to have gotten reapproved, sorry for the noise @bors r- |
@notriddle could you please assist in how to use it? I cannot seem to make it work by setting it on Makefile or the |
It looks like However, since you aren’t using compiletest, you’ll need to implement the normalization yourself. For example, use a command like this one in the makefiles.
|
☔ The latest upstream changes (presumably #97239) made this pull request unmergeable. Please resolve the merge conflicts. |
…=notriddle Fix rustdoc argument error Fixes rust-lang#88756. It's a take over of rust-lang#88831. I cherry-picked the commits, fixed the merge conflict and the failing test. cc `@inashivb` `@jyn514` r? `@notriddle`
This is the fix is corresponding to #88756 mentored by @jyn514