⬆️ Update 👷 GitHub Action moonrepo/setup-rust to e013866 #1477
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (0)
Filtered Findings (11)
src/lib.rs|31 col 7| warning: unexpected cfg
condition name: nightly
--> src/lib.rs:31:7
|
31 | all(nightly, feature = "nightly"),
| ^^^^^^^ help: found config with similar value: feature = "nightly"
|
= help: expected names are: clippy
, debug_assertions
, doc
, docsrs
, doctest
, feature
, miri
, overflow_checks
, panic
, proc_macro
, relocation_model
, rustfmt
, sanitize
, sanitizer_cfi_generalize_pointers
, sanitizer_cfi_normalize_integers
, target_abi
, target_arch
, target_endian
, target_env
, target_family
, target_feature
, target_has_atomic
, target_has_atomic_equal_alignment
, target_has_atomic_load_store
, target_os
, target_pointer_width
, target_thread_local
, target_vendor
, test
, ub_checks
, unix
, and windows
= help: consider using a Cargo feature instead
= help: or consider adding in Cargo.toml
the check-cfg
lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] }
= help: or consider adding println!("cargo::rustc-check-cfg=cfg(nightly)");
to the top of the build.rs
= note: see https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html for more information about checking conditional configuration
= note: #[warn(unexpected_cfgs)]
on by default
src/lib.rs|36 col 25| warning: unexpected cfg
condition name: nightly
--> src/lib.rs:36:25
|
36 | #![cfg_attr(any(docsrs, nightly), feature(doc_cfg))]
| ^^^^^^^ help: found config with similar value: feature = "nightly"
|
= help: consider using a Cargo feature instead
= help: or consider adding in Cargo.toml
the check-cfg
lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] }
= help: or consider adding println!("cargo::rustc-check-cfg=cfg(nightly)");
to the top of the build.rs
= note: see https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html for more information about checking conditional configuration
src/lib.rs|42 col 24| warning: unexpected cfg
condition name: nightly
--> src/lib.rs:42:24
|
42 | #[cfg_attr(any(docsrs, nightly), doc(cfg(feature = "unstable")))]
| ^^^^^^^ help: found config with similar value: feature = "nightly"
|
= help: consider using a Cargo feature instead
= help: or consider adding in Cargo.toml
the check-cfg
lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] }
= help: or consider adding println!("cargo::rustc-check-cfg=cfg(nightly)");
to the top of the build.rs
= note: see https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html for more information about checking conditional configuration
src/lib.rs|46 col 24| warning: unexpected cfg
condition name: nightly
--> src/lib.rs:46:24
|
46 | #[cfg_attr(any(docsrs, nightly), doc(cfg(feature = "nightly")))]
| ^^^^^^^ help: found config with similar value: feature = "nightly"
|
= help: consider using a Cargo feature instead
= help: or consider adding in Cargo.toml
the check-cfg
lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] }
= help: or consider adding println!("cargo::rustc-check-cfg=cfg(nightly)");
to the top of the build.rs
= note: see https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html for more information about checking conditional configuration
src/lib.rs|47 col 11| warning: unexpected cfg
condition name: nightly
--> src/lib.rs:47:11
|
47 | #[cfg(all(nightly, feature = "nightly"))]
| ^^^^^^^ help: found config with similar value: feature = "nightly"
|
= help: consider using a Cargo feature instead
= help: or consider adding in Cargo.toml
the check-cfg
lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] }
= help: or consider adding println!("cargo::rustc-check-cfg=cfg(nightly)");
to the top of the build.rs
= note: see https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html for more information about checking conditional configuration
src/lib.rs|63 col 24| warning: unexpected cfg
condition name: nightly
--> src/lib.rs:63:24
|
63 | #[cfg_attr(any(docsrs, nightly), doc(cfg(feature = "report")))]
| ^^^^^^^ help: found config with similar value: feature = "nightly"
|
= help: consider using a Cargo feature instead
= help: or consider adding in Cargo.toml
the check-cfg
lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] }
= help: or consider adding println!("cargo::rustc-check-cfg=cfg(nightly)");
to the top of the build.rs
= note: see https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html for more information about checking conditional configuration
src/lib.rs|67 col 24| warning: unexpected cfg
condition name: nightly
--> src/lib.rs:67:24
|
67 | #[cfg_attr(any(docsrs, nightly), doc(cfg(feature = "diagnostic")))]
| ^^^^^^^ help: found config with similar value: feature = "nightly"
|
= help: consider using a Cargo feature instead
= help: or consider adding in Cargo.toml
the check-cfg
lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] }
= help: or consider adding println!("cargo::rustc-check-cfg=cfg(nightly)");
to the top of the build.rs
= note: see https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html for more information about checking conditional configuration
src/prelude.rs|15 col 24| warning: unexpected cfg
condition name: nightly
--> src/prelude.rs:15:24
|
15 | #[cfg_attr(any(docsrs, nightly), doc(cfg(feature = "nightly")))]
| ^^^^^^^ help: found config with similar value: feature = "nightly"
|
= help: consider using a Cargo feature instead
= help: or consider adding in Cargo.toml
the check-cfg
lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] }
= help: or consider adding println!("cargo::rustc-check-cfg=cfg(nightly)");
to the top of the build.rs
= note: see https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html for more information about checking conditional configuration
src/prelude.rs|16 col 11| warning: unexpected cfg
condition name: nightly
--> src/prelude.rs:16:11
|
16 | #[cfg(all(nightly, feature = "nightly"))]
| ^^^^^^^ help: found config with similar value: feature = "nightly"
|
= help: consider using a Cargo feature instead
= help: or consider adding in Cargo.toml
the check-cfg
lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] }
= help: or consider adding println!("cargo::rustc-check-cfg=cfg(nightly)");
to the top of the build.rs
= note: see https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html for more information about checking conditional configuration
src/lib.rs|72 col 56| warning: unused import: iter::*
--> src/lib.rs:72:56
|
72 | pub use crate::{aberration::, concern::, convert::, iter::, outcome::*};
| ^^^^^^^
|
= note: #[warn(unused_imports)]
on by default
src/private.rs|14 col 11| warning: trait Sealed
is never used
--> src/private.rs:14:11
|
14 | pub trait Sealed {}
| ^^^^^^
|
= note: #[warn(dead_code)]
on by default