-
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
CI is not catching some intra-doc link failures #75768
Comments
If you're talking about the PR builder, it only does a limited stage 0 build:
|
The stage 0 build should still have caught this, though. It runs with intra-doc links on because RUSTC_BOOTSTRAP is set. |
It looks like it was caught? https://github.com/rust-lang/rust/pull/75725/checks?check_run_id=1012069433 Without a specific thing that was not caught and a link to the CI build in which it was not caught I probably can't help here. |
Here is the specific thing that was not caught: 1ababd8#diff-751e42ddeb4b1353113ad998d3a758c7R1746 |
I'm not saying it's a CI failure - it might be a bug in rustdoc. |
Ah, in this particular case, that is an unused reference link, which pulldown_cmark ignores. Lines 1704 to 1746 in 1ababd8
It would be great to warn or err on that case, but I'm not sure how feasible that is with pulldown_cmark as it is. (I've wanted this for mdbook, too, but last time I looked it wasn't possible.) |
Ah ok, this is just a duplicate of #62345 then. Sorry for the false alarm. |
This is
alloc
,std
isn't in scope. I'm curious how CI didn't catch this ...Not yet sure whether this is a CI issue or rustdoc issue.
Originally posted by @jyn514 in #75725 (comment)
The text was updated successfully, but these errors were encountered: