Skip to content

Agressive clippy #6989

Closed
Closed
@tschuett

Description

@tschuett

GitHub Actions:

rustc 1.51.0 (2fd73fabe 2021-03-23)
/usr/share/rust/.cargo/bin/cargo clippy -- -D warnings

Local installation:

rustc 1.51.0 (2fd73fabe 2021-03-23)
cargo clippy  -- -D warnings

On GitHub Actions, I get the following error:

error: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices.

My local installation never gives me that error?!? The remote clippy is much more aggressive in linting.

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