Skip to content

Meta: Require 1.76 #557

Meta: Require 1.76

Meta: Require 1.76 #557

GitHub Actions / clippy failed Jan 2, 2024 in 0s

clippy

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
Warning 0
Note 0
Help 0

Versions

  • rustc 1.77.0-nightly (e51e98dde 2023-12-31)
  • cargo 1.77.0-nightly (ac6bbb332 2023-12-26)
  • clippy 0.1.77 (e51e98d 2023-12-31)

Annotations

Check failure on line 156 in src/test.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

writing `&Vec` instead of `&[_]` involves a new object where a slice will do

error: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
   --> src/test.rs:156:13
    |
156 |     assembled: &Vec<u8>,
    |                ^^^^^^^^ help: change this to: `&[u8]`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
note: the lint level is defined here
   --> src/lib.rs:39:32
    |
39  |         #[deny(missing_docs, unused, clippy::all, clippy::pedantic, clippy::nursery, rustdoc::all)]
    |                                      ^^^^^^^^^^^
...
63  | w_error!(mod test);
    | ------------------ in this macro invocation
    = note: `#[deny(clippy::ptr_arg)]` implied by `#[deny(clippy::all)]`
    = note: this error originates in the macro `w_error` (in Nightly builds, run with -Z macro-backtrace for more info)