Skip to content

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

Closed
@sbstp

Description

@sbstp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions