Skip to content

Build error with 1.3.8 (doc) #684

@turbo

Description

@turbo

This crate is used somewhere in the dep tree of a package I need (tokei). It seems like the latest update broke the build for my current rust version (it did work a few hours ago). I'll investigate, but this is what's happening:

Compiling rand_xorshift v0.1.1
Compiling phf v0.7.24
Compiling aho-corasick v0.7.10
Compiling libloading v0.5.2
Compiling stringprep v0.1.2
Compiling regex v1.3.8
Compiling quote v1.0.6
error[E0658]: `cfg(doctest)` is experimental and subject to change
 --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-1.3.8/src/lib.rs:625:7
625 #[cfg(doctest)]
^^^^^^^
note: for more information, see https://github.com/rust-lang/rust/issues/62210

error[E0658]: `cfg(doctest)` is experimental and subject to change --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-1.3.8/src/lib.rs:636:7

#[cfg(doctest)]
^^^^^^^
note: for more information, see https://github.com/rust-lang/rust/issues/62210

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0658`.

error: could not compile `regex`.

warning: build failed, waiting for other jobs to finish...
error: build failed

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