[GH-ISSUE #544] trust-dns-proto docs break #526

Closed
opened 2026-03-15 22:58:02 +03:00 by kerem · 6 comments
Owner

Originally created by @bspeice on GitHub (Aug 5, 2018).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/544

I'm unable to build documentation for some of my projects because they pull in trust-dns-proto, and the documentation breaks:

error[E0658]: access to extern crates through prelude is experimental (see issue #44660)
  |
  = help: add #![feature(extern_prelude)] to the crate attributes to enable

error: Could not document `trust-dns-proto`.

Is it possible to un-break things? I was under the impression that #![feature] flags require using a nightly compiler.

Originally created by @bspeice on GitHub (Aug 5, 2018). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/544 I'm unable to build documentation for some of my projects because they pull in trust-dns-proto, and the documentation breaks: ``` error[E0658]: access to extern crates through prelude is experimental (see issue #44660) | = help: add #![feature(extern_prelude)] to the crate attributes to enable error: Could not document `trust-dns-proto`. ``` Is it possible to un-break things? I was under the impression that `#![feature]` flags require using a nightly compiler.
kerem closed this issue 2026-03-15 22:58:07 +03:00
Author
Owner

@bluejekyll commented on GitHub (Aug 5, 2018):

To work around the nightly compiler errors, I use stable to generate docs, which works great: cargo +stable doc

As to this specific error, I haven’t looked into what would fix it on nightly.

<!-- gh-comment-id:410532536 --> @bluejekyll commented on GitHub (Aug 5, 2018): To work around the nightly compiler errors, I use stable to generate docs, which works great: `cargo +stable doc` As to this specific error, I haven’t looked into what would fix it on nightly.
Author
Owner

@bspeice commented on GitHub (Aug 5, 2018):

I'm not using nightly, this is happening on stable. Specifically, when I include actix in a project and re-run cargo doc I get the error above.

EDIT: Something went wrong in rustup, turns out I am in fact using the nightly compiler. Feel free to close if you want, I should've been on stable, but it may be worthwhile to leave this open to document that nightly docs break.

<!-- gh-comment-id:410533634 --> @bspeice commented on GitHub (Aug 5, 2018): I'm not using nightly, this is happening on stable. Specifically, when I include `actix` in a project and re-run `cargo doc` I get the error above. EDIT: Something went wrong in rustup, turns out I *am* in fact using the nightly compiler. Feel free to close if you want, I should've been on stable, but it may be worthwhile to leave this open to document that nightly docs break.
Author
Owner

@bluejekyll commented on GitHub (Aug 5, 2018):

Oddly, this used to happen to me often. On nightly and stable, I'm not seeing issues, current nightly:

rustc 1.29.0-nightly (97085f9fb 2018-08-01)

Not sure why I can't reproduce this right now.

<!-- gh-comment-id:410540130 --> @bluejekyll commented on GitHub (Aug 5, 2018): Oddly, this used to happen to me often. On nightly and stable, I'm not seeing issues, current nightly: `rustc 1.29.0-nightly (97085f9fb 2018-08-01)` Not sure why I can't reproduce this right now.
Author
Owner

@bspeice commented on GitHub (Aug 5, 2018):

I was on a 1.30 nightly if it makes any difference.

<!-- gh-comment-id:410544964 --> @bspeice commented on GitHub (Aug 5, 2018): I was on a 1.30 nightly if it makes any difference.
Author
Owner

@bspeice commented on GitHub (Aug 11, 2018):

Re-tried with most recent 1.30 nightly, no longer an issue. Going to consider this closed.

<!-- gh-comment-id:412278339 --> @bspeice commented on GitHub (Aug 11, 2018): Re-tried with most recent 1.30 nightly, no longer an issue. Going to consider this closed.
Author
Owner

@bluejekyll commented on GitHub (Aug 11, 2018):

Excellent. Thank you for following up!

<!-- gh-comment-id:412286125 --> @bluejekyll commented on GitHub (Aug 11, 2018): Excellent. Thank you for following up!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#526
No description provided.