Closed
Description
While releasing teloxide 0.14.0 we encountered docs build failure on docs.rs: https://docs.rs/crate/teloxide/0.14.0/builds/1924379 (rust-lang/docs.rs#2780).
Bisecting this issue led to these findings:
- teloxide docs build fine on
nightly-2025-02-16
(rust version 1.86.0-nightly (9cd60bd 2025-02-15)) - starting with
nightly-2025-02-17
(rust version 1.87.0-nightly (5bc6231 2025-02-16) docs build fails with:error: unresolved link to `adaptors::AutoSend` --> crates/teloxide-core/src/lib.rs:51:19 | 51 | //! [`AutoSend`]: adaptors::AutoSend | ^^^^^^^^^^^^^^^^^^ no item named `AutoSend` in module `adaptors` | note: the lint level is defined here --> crates/teloxide-core/src/lib.rs:80:49 | 80 | #![cfg_attr(all(feature = "full", docsrs), deny(rustdoc::broken_intra_doc_links))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: could not document `teloxide-core`
- starting with
nightly-2025-03-12
(rust version 1.87.0-nightly (6650252 2025-03-11)) docs build fails with: https://pastebin.com/TV4JcCD4 - issue persists on
nightly-2025-03-29