Skip to content

Merge pull request #4 from foresterre/release-config #8

Merge pull request #4 from foresterre/release-config

Merge pull request #4 from foresterre/release-config #8

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy succeeded Sep 23, 2023 in 0s

clippy

7 warnings

Details

Results

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

Versions

  • rustc 1.72.1 (d5c2e9c34 2023-09-13)
  • cargo 1.72.1 (103a7ff2e 2023-08-15)
  • clippy 0.1.72 (d5c2e9c 2023-09-13)

Annotations

Check warning on line 9 in src/tests.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

constants have by default a `'static` lifetime

warning: constants have by default a `'static` lifetime
 --> src/tests.rs:9:26
  |
9 | const TOML_WITHOUT_EXT: &'static str =
  |                         -^^^^^^^---- help: consider removing `'static`: `&str`
  |
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes

Check warning on line 6 in src/tests.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

constants have by default a `'static` lifetime

warning: constants have by default a `'static` lifetime
 --> src/tests.rs:6:23
  |
6 | const TOML_WITH_EXT: &'static str =
  |                      -^^^^^^^---- help: consider removing `'static`: `&str`
  |
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes

Check warning on line 3 in src/tests.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

constants have by default a `'static` lifetime

warning: constants have by default a `'static` lifetime
 --> src/tests.rs:3:25
  |
3 | const TOML_LOCAL_PATH: &'static str =
  |                        -^^^^^^^---- help: consider removing `'static`: `&str`
  |
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes

Check warning on line 1 in src/tests.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

constants have by default a `'static` lifetime

warning: constants have by default a `'static` lifetime
 --> src/tests.rs:1:21
  |
1 | const LEGACY_ONLY: &'static str = include_str!("../tests/fixtures/legacy-only/rust-toolchain");
  |                    -^^^^^^^---- help: consider removing `'static`: `&str`
  |
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes

Check warning on line 8 in src/toml/tests.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

constants have by default a `'static` lifetime

warning: constants have by default a `'static` lifetime
 --> src/toml/tests.rs:8:37
  |
8 | const RUSTUP_BOOK_LOCAL_TOOLCHAIN: &'static str =
  |                                    -^^^^^^^---- help: consider removing `'static`: `&str`
  |
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes

Check warning on line 5 in src/toml/tests.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

constants have by default a `'static` lifetime

warning: constants have by default a `'static` lifetime
 --> src/toml/tests.rs:5:26
  |
5 | const RUSTUP_BOOK_SPEC: &'static str =
  |                         -^^^^^^^---- help: consider removing `'static`: `&str`
  |
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes
  = note: `#[warn(clippy::redundant_static_lifetimes)]` on by default

Check warning on line 7 in src/legacy/tests.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated macro `yare::ide`

warning: use of deprecated macro `yare::ide`
 --> src/legacy/tests.rs:7:1
  |
7 | yare::ide!();
  | ^^^^^^^^^
  |
  = note: `#[warn(deprecated)]` on by default