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

#![feature]` may not be used on the stable release channel #448

Closed
lcmgh opened this issue Feb 7, 2023 · 2 comments
Closed

#![feature]` may not be used on the stable release channel #448

lcmgh opened this issue Feb 7, 2023 · 2 comments

Comments

@lcmgh
Copy link

lcmgh commented Feb 7, 2023

When trying to generate docs with cargo doc for my app I am facing this error after adding opentelemetry crates:

 Documenting opentelemetry-proto v0.1.0
error[E0554]: `#![feature]` may not be used on the stable release channel
 --> /Users/x/.cargo/registry/src/github.com-1ecc6299db9ec823/opentelemetry-proto-0.1.0/src/lib.rs:1:18
  |
1 | #![cfg_attr(doc, feature(doc_auto_cfg))]
@flokli
Copy link

flokli commented Mar 26, 2023

It looks like this is due to the usage of doc_auto_cfg.

open-telemetry/opentelemetry-rust#924 might be the correct place for it (where the rust code seems to live in), it says it should not be an issue without the docsrs feature.

@tigrannajaryan
Copy link
Member

Closing since open-telemetry/opentelemetry-rust#924 is resolved.

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

No branches or pull requests

3 participants