Skip to content

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

Closed
@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/github.com-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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions