Skip to content
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

docs.rs doc build broken #124

Closed
kpreid opened this issue Aug 11, 2024 · 0 comments · Fixed by #125
Closed

docs.rs doc build broken #124

kpreid opened this issue Aug 11, 2024 · 0 comments · Fixed by #125

Comments

@kpreid
Copy link

kpreid commented Aug 11, 2024

I noticed that https://docs.rs/async-executor/1.13.0 has a broken build. The docs.rs build logs say:

[INFO] [stderr] error[E0658]: `#[doc(cfg)]` is experimental
[INFO] [stderr]   --> src/lib.rs:61:20
[INFO] [stderr]    |
[INFO] [stderr] 61 | #[cfg_attr(docsrs, doc(cfg(any(feature = "static"))))]
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: see issue #43781 <https://github.com/rust-lang/rust/issues/43781> for more information
[INFO] [stderr]    = help: add `#![feature(doc_cfg)]` to the crate attributes to enable

It appears that the problem is that #122 added a use of #[doc(cfg(...))] without also adding #![feature(doc_cfg)].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant