Skip to content

cargo fmt --all -- --check issues error for crate that is not part of either the workspace or the path dependencies. #3725

@taiki-e

Description

@taiki-e

https://dev.azure.com/tokio-rs/Tokio/_build/results?buildId=1748&view=logs

Diff in /usr/share/rust/.cargo/registry/src/git.832008.xyz-1ecc6299db9ec823/tokio-codec-0.1.1/src/bytes_codec.rs at line 1:
-use bytes::{Bytes, BufMut, BytesMut};
-use tokio_io::_tokio_codec::{Encoder, Decoder};
+use bytes::{BufMut, Bytes, BytesMut};
 use std::io;
+use tokio_io::_tokio_codec::{Decoder, Encoder};

toolchain: nightly-2019-08-01, (Probably nightly-2019-07-18 and later, it didn't happen in nightly-2019-07-17 or earlier versions)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions