Rustdoc with -Znormalize-docs
fails to build docs for generic-array
#120199
Labels
-Znormalize-docs
Unstable rustdoc option: Normalize/evaluate types when generating docs
C-bug
Category: This is a bug.
requires-nightly
This issue requires a nightly compiler in some way.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Building docs for
generic-array
with-Znormalize-docs
fails since its git tag0.0.3
with the following error (latest tag1.0.0
also reproduces the same exact issue):notes on
0.0.2
On
0.0.2
rustdoc also fails, but with a slightly different error:Why I consider this a rustdoc bug (as opposed to
generic-array
)Mainly because the crate builds just fine with
rustc
, so it's only doc normalization that can't chew through it.But also:
generic-array
(potentially though a list of other deps), which is doubly annoying (I don't think there needs to be any public item ofgeneric-array
exported from a crate for the build to fail)Discovery context
This was discovered a couple days ago when I noticed that I can't build docs for
teloxide
(2945f4d3
) locally. As it turns out it was caused by update ofsqlx
(0.6 -> 0.7.3) in4fcb906
which looks like it adds a dependency ongeneric-array
(which is somewhat weird, considering that you can just use const generics now, I think?...).Meta
rustdoc --version --verbose
:The text was updated successfully, but these errors were encountered: