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

Hyper doesn't compile because of missing docs. #600

Closed
sbstp opened this issue Jul 8, 2015 · 1 comment
Closed

Hyper doesn't compile because of missing docs. #600

sbstp opened this issue Jul 8, 2015 · 1 comment

Comments

@sbstp
Copy link
Contributor

sbstp commented Jul 8, 2015

I'm trying to compile hyper 0.6.2 right now, but it fails to compile because of missing docs. Am I doing something wrong?

/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/http/h1.rs:735:1: 735:25 error: missing documentation for a constant
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/http/h1.rs:735 pub const SP: u8 = b' ';
                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/lib.rs:2:9: 2:21 note: lint level defined here
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/lib.rs:2 #![deny(missing_docs)]
                                                                                             ^~~~~~~~~~~~
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/http/h1.rs:736:1: 736:26 error: missing documentation for a constant
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/http/h1.rs:736 pub const CR: u8 = b'\r';
                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/lib.rs:2:9: 2:21 note: lint level defined here
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/lib.rs:2 #![deny(missing_docs)]
                                                                                             ^~~~~~~~~~~~
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/http/h1.rs:737:1: 737:26 error: missing documentation for a constant
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/http/h1.rs:737 pub const LF: u8 = b'\n';
                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/lib.rs:2:9: 2:21 note: lint level defined here
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/lib.rs:2 #![deny(missing_docs)]
                                                                                             ^~~~~~~~~~~~
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/http/h1.rs:738:1: 738:27 error: missing documentation for a constant
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/http/h1.rs:738 pub const STAR: u8 = b'*';
                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/lib.rs:2:9: 2:21 note: lint level defined here
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/lib.rs:2 #![deny(missing_docs)]
                                                                                             ^~~~~~~~~~~~
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/http/h1.rs:739:1: 739:46 error: missing documentation for a constant
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/http/h1.rs:739 pub const LINE_ENDING: &'static str = "\r\n";
                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/lib.rs:2:9: 2:21 note: lint level defined here
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/lib.rs:2 #![deny(missing_docs)]

I also tried downgrading to 0.6.1, same error. I'm using the rust-nightly from the rust ppa.

@seanmonstar
Copy link
Member

I'm going to guess that in the newest nightly, the missing_docs lint got
slightly stricter and is now noticing those consts.

On Tue, Jul 7, 2015, 9:52 PM Simon Bernier St-Pierre <
[email protected]> wrote:

I'm trying to compile hyper 0.6.2 right now, but it fails to compile
because of missing docs. Am I doing something wrong?

/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/http/h1.rs:735:1: 735:25 error: missing documentation for a constant
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/http/h1.rs:735 pub const SP: u8 = b' ';
^~~~~~~~~~~~~~~~~~~~~~~~
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/lib.rs:2:9: 2:21 note: lint level defined here
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/lib.rs:2 #![deny(missing_docs)]
^~~~~~~~~~~~
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/http/h1.rs:736:1: 736:26 error: missing documentation for a constant
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/http/h1.rs:736 pub const CR: u8 = b'\r';
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/lib.rs:2:9: 2:21 note: lint level defined here
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/lib.rs:2 #![deny(missing_docs)]
^~~~~~~~~~~~
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/http/h1.rs:737:1: 737:26 error: missing documentation for a constant
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/http/h1.rs:737 pub const LF: u8 = b'\n';
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/lib.rs:2:9: 2:21 note: lint level defined here
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/lib.rs:2 #![deny(missing_docs)]
^~~~~~~~~~~~
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/http/h1.rs:738:1: 738:27 error: missing documentation for a constant
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/http/h1.rs:738 pub const STAR: u8 = b'*';
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/lib.rs:2:9: 2:21 note: lint level defined here
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/lib.rs:2 #![deny(missing_docs)]
^~~~~~~~~~~~
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/http/h1.rs:739:1: 739:46 error: missing documentation for a constant
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/http/h1.rs:739 pub const LINE_ENDING: &'static str = "\r\n";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/lib.rs:2:9: 2:21 note: lint level defined here
/home/simon/.cargo/registry/src/github.com-0a35038f75765ae4/hyper-0.6.2/src/lib.rs:2 #![deny(missing_docs)]

I also tried downgrading to 0.6.1, same error. I'm using the rust-nightly
from the rust ppa.


Reply to this email directly or view it on GitHub
#600.

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

2 participants