test #331
Annotations
86 warnings
doc list item without indentation:
src/map.rs#L336
warning: doc list item without indentation
--> src/map.rs:336:9
|
336 | /// this accommodates types that can be `==` without being identical).
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
336 | /// this accommodates types that can be `==` without being identical).
| ++
|
type parameter `U` goes unused in function definition:
src/tree/tree.rs#L1155
warning: type parameter `U` goes unused in function definition
--> src/tree/tree.rs:1155:24
|
1155 | fn get_subtree_size<U: SmallUnsigned>(&self, idx: usize) -> usize {
| ^^^^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
= note: `#[warn(clippy::extra_unused_type_parameters)]` on by default
|
`filter(..).map(..)` can be simplified as `filter_map(..)`:
src/tree/tree.rs#L511
warning: `filter(..).map(..)` can be simplified as `filter_map(..)`
--> src/tree/tree.rs:511:18
|
511 | .filter(|n| n.is_some())
| __________________^
512 | | .map(|n| n.as_ref().unwrap())
| |_____________________________________________^ help: try: `filter_map(|n| n.as_ref())`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_filter_map
= note: `#[warn(clippy::manual_filter_map)]` on by default
|
doc list item without indentation:
src/tree/tree.rs#L180
warning: doc list item without indentation
--> src/tree/tree.rs:180:9
|
180 | /// this accommodates types that can be `==` without being identical).
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
180 | /// this accommodates types that can be `==` without being identical).
| ++
|
replacing an `Option` with `None`:
src/tree/arena.rs#L114
warning: replacing an `Option` with `None`
--> src/tree/arena.rs:114:24
|
114 | let node = core::mem::replace(&mut self.vec[idx], None);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider `Option::take()` instead: `self.vec[idx].take()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_option_with_none
= note: `#[warn(clippy::mem_replace_option_with_none)]` on by default
|
duplicated attribute:
src/lib.rs#L205
warning: duplicated attribute
--> src/lib.rs:205:9
|
205 | #![deny(missing_docs)]
| ^^^^^^^^^^^^
|
note: first defined here
--> src/lib.rs:201:43
|
201 | #![cfg_attr(not(any(test, fuzzing)), deny(missing_docs))]
| ^^^^^^^^^^^^
help: remove this attribute
--> src/lib.rs:205:9
|
205 | #![deny(missing_docs)]
| ^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#duplicated_attributes
= note: `#[warn(clippy::duplicated_attributes)]` on by default
|
unused import: `macros::*`:
src/lib.rs#L228
warning: unused import: `macros::*`
--> src/lib.rs:228:9
|
228 | pub use macros::*;
| ^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unexpected `cfg` condition name: `fuzzing`:
src/tree/mod.rs#L12
warning: unexpected `cfg` condition name: `fuzzing`
--> src/tree/mod.rs:12:7
|
12 | #[cfg(fuzzing)]
| ^^^^^^^
|
= 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(fuzzing)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` 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
|
unexpected `cfg` condition name: `fuzzing`:
src/tree/mod.rs#L8
warning: unexpected `cfg` condition name: `fuzzing`
--> src/tree/mod.rs:8:7
|
8 | #[cfg(fuzzing)]
| ^^^^^^^
|
= 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(fuzzing)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` 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
|
unexpected `cfg` condition name: `fuzzing`:
src/lib.rs#L208
warning: unexpected `cfg` condition name: `fuzzing`
--> src/lib.rs:208:7
|
208 | #[cfg(fuzzing)]
| ^^^^^^^
|
= 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(fuzzing)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` 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
|
unexpected `cfg` condition name: `fuzzing`:
src/lib.rs#L201
warning: unexpected `cfg` condition name: `fuzzing`
--> src/lib.rs:201:27
|
201 | #![cfg_attr(not(any(test, fuzzing)), deny(missing_docs))]
| ^^^^^^^
|
= 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(fuzzing)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` 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
|
unexpected `cfg` condition name: `fuzzing`:
src/lib.rs#L200
warning: unexpected `cfg` condition name: `fuzzing`
--> src/lib.rs:200:27
|
200 | #![cfg_attr(not(any(test, fuzzing)), no_std)]
| ^^^^^^^
|
= 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(fuzzing)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` 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
|
run_tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
run_tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
run_tests
unused manifest key: package.rust
|
run_tests:
src/lib.rs#L200
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/lib.rs#L201
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/lib.rs#L208
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/tree/mod.rs#L8
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/tree/mod.rs#L12
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/lib.rs#L228
unused import: `macros::*`
|
run_tests
`scapegoat` (lib) generated 6 warnings (run `cargo fix --lib -p scapegoat` to apply 1 suggestion)
|
run_tests:
benches/test_data.rs#L49
fields `get_idxs` and `remove_idxs` are never read
|
run_tests:
benches/test_data.rs#L49
fields `get_idxs` and `remove_idxs` are never read
|
run_tests
unused manifest key: package.rust
|
run_tests:
src/lib.rs#L201
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/lib.rs#L208
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/tree/mod.rs#L8
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/tree/mod.rs#L12
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/lib.rs#L228
unused import: `macros::*`
|
run_tests
`scapegoat` (lib) generated 6 warnings (run `cargo fix --lib -p scapegoat` to apply 1 suggestion)
|
run_tests
unused manifest key: package.rust
|
run_tests:
src/lib.rs#L200
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/lib.rs#L201
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/lib.rs#L208
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/tree/mod.rs#L8
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/tree/mod.rs#L12
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/lib.rs#L228
unused import: `macros::*`
|
run_tests
`scapegoat` (lib) generated 6 warnings (run `cargo fix --lib -p scapegoat` to apply 1 suggestion)
|
run_tests:
examples/tiny_map.rs#L5
unused variable: `tiny_map`
|
run_tests
`scapegoat` (example "tiny_map") generated 2 warnings (run `cargo fix --example "tiny_map"` to apply 1 suggestion)
|
run_tests
unused manifest key: package.rust
|
run_tests:
src/lib.rs#L200
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/lib.rs#L201
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/lib.rs#L208
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/tree/mod.rs#L8
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/tree/mod.rs#L12
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/lib.rs#L228
unused import: `macros::*`
|
run_tests
`scapegoat` (lib) generated 6 warnings (run `cargo fix --lib -p scapegoat` to apply 1 suggestion)
|
run_tests:
examples/tiny_map.rs#L5
unused variable: `tiny_map`
|
run_tests
`scapegoat` (example "tiny_map") generated 2 warnings (run `cargo fix --example "tiny_map"` to apply 1 suggestion)
|
run_tests
unused manifest key: package.rust
|
run_tests:
src/lib.rs#L200
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/lib.rs#L201
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/lib.rs#L208
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/tree/mod.rs#L8
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/tree/mod.rs#L12
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/lib.rs#L228
unused import: `macros::*`
|
run_tests
`scapegoat` (lib) generated 6 warnings (run `cargo fix --lib -p scapegoat` to apply 1 suggestion)
|
run_tests
unused manifest key: package.rust
|
run_tests:
src/lib.rs#L200
unexpected `cfg` condition name: `fuzzing`
|
run_tests:
src/lib.rs#L201
unexpected `cfg` condition name: `fuzzing`
|
doc list item without indentation:
src/map.rs#L336
warning: doc list item without indentation
--> src/map.rs:336:9
|
336 | /// this accommodates types that can be `==` without being identical).
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
336 | /// this accommodates types that can be `==` without being identical).
| ++
|
type parameter `U` goes unused in function definition:
src/tree/tree.rs#L1155
warning: type parameter `U` goes unused in function definition
--> src/tree/tree.rs:1155:24
|
1155 | fn get_subtree_size<U: SmallUnsigned>(&self, idx: usize) -> usize {
| ^^^^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
= note: `#[warn(clippy::extra_unused_type_parameters)]` on by default
|
`filter(..).map(..)` can be simplified as `filter_map(..)`:
src/tree/tree.rs#L511
warning: `filter(..).map(..)` can be simplified as `filter_map(..)`
--> src/tree/tree.rs:511:18
|
511 | .filter(|n| n.is_some())
| __________________^
512 | | .map(|n| n.as_ref().unwrap())
| |_____________________________________________^ help: try: `filter_map(|n| n.as_ref())`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_filter_map
= note: `#[warn(clippy::manual_filter_map)]` on by default
|
doc list item without indentation:
src/tree/tree.rs#L180
warning: doc list item without indentation
--> src/tree/tree.rs:180:9
|
180 | /// this accommodates types that can be `==` without being identical).
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
180 | /// this accommodates types that can be `==` without being identical).
| ++
|
replacing an `Option` with `None`:
src/tree/arena.rs#L114
warning: replacing an `Option` with `None`
--> src/tree/arena.rs:114:24
|
114 | let node = core::mem::replace(&mut self.vec[idx], None);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider `Option::take()` instead: `self.vec[idx].take()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_option_with_none
= note: `#[warn(clippy::mem_replace_option_with_none)]` on by default
|
duplicated attribute:
src/lib.rs#L205
warning: duplicated attribute
--> src/lib.rs:205:9
|
205 | #![deny(missing_docs)]
| ^^^^^^^^^^^^
|
note: first defined here
--> src/lib.rs:201:43
|
201 | #![cfg_attr(not(any(test, fuzzing)), deny(missing_docs))]
| ^^^^^^^^^^^^
help: remove this attribute
--> src/lib.rs:205:9
|
205 | #![deny(missing_docs)]
| ^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#duplicated_attributes
= note: `#[warn(clippy::duplicated_attributes)]` on by default
|
unused import: `macros::*`:
src/lib.rs#L228
warning: unused import: `macros::*`
--> src/lib.rs:228:9
|
228 | pub use macros::*;
| ^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unexpected `cfg` condition name: `fuzzing`:
src/tree/mod.rs#L12
warning: unexpected `cfg` condition name: `fuzzing`
--> src/tree/mod.rs:12:7
|
12 | #[cfg(fuzzing)]
| ^^^^^^^
|
= 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(fuzzing)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` 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
|
unexpected `cfg` condition name: `fuzzing`:
src/tree/mod.rs#L8
warning: unexpected `cfg` condition name: `fuzzing`
--> src/tree/mod.rs:8:7
|
8 | #[cfg(fuzzing)]
| ^^^^^^^
|
= 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(fuzzing)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` 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
|
unexpected `cfg` condition name: `fuzzing`:
src/lib.rs#L208
warning: unexpected `cfg` condition name: `fuzzing`
--> src/lib.rs:208:7
|
208 | #[cfg(fuzzing)]
| ^^^^^^^
|
= 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(fuzzing)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` 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
|
unexpected `cfg` condition name: `fuzzing`:
src/lib.rs#L201
warning: unexpected `cfg` condition name: `fuzzing`
--> src/lib.rs:201:27
|
201 | #![cfg_attr(not(any(test, fuzzing)), deny(missing_docs))]
| ^^^^^^^
|
= 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(fuzzing)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` 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
|
unexpected `cfg` condition name: `fuzzing`:
src/lib.rs#L200
warning: unexpected `cfg` condition name: `fuzzing`
--> src/lib.rs:200:27
|
200 | #![cfg_attr(not(any(test, fuzzing)), no_std)]
| ^^^^^^^
|
= 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(fuzzing)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` 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
|
doc list item without indentation:
src/map.rs#L336
warning: doc list item without indentation
--> src/map.rs:336:9
|
336 | /// this accommodates types that can be `==` without being identical).
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
336 | /// this accommodates types that can be `==` without being identical).
| ++
|
type parameter `U` goes unused in function definition:
src/tree/tree.rs#L1155
warning: type parameter `U` goes unused in function definition
--> src/tree/tree.rs:1155:24
|
1155 | fn get_subtree_size<U: SmallUnsigned>(&self, idx: usize) -> usize {
| ^^^^^^^^^^^^^^^^^^ help: consider removing the parameter
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
= note: `#[warn(clippy::extra_unused_type_parameters)]` on by default
|
`filter(..).map(..)` can be simplified as `filter_map(..)`:
src/tree/tree.rs#L511
warning: `filter(..).map(..)` can be simplified as `filter_map(..)`
--> src/tree/tree.rs:511:18
|
511 | .filter(|n| n.is_some())
| __________________^
512 | | .map(|n| n.as_ref().unwrap())
| |_____________________________________________^ help: try: `filter_map(|n| n.as_ref())`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_filter_map
= note: `#[warn(clippy::manual_filter_map)]` on by default
|
doc list item without indentation:
src/tree/tree.rs#L180
warning: doc list item without indentation
--> src/tree/tree.rs:180:9
|
180 | /// this accommodates types that can be `==` without being identical).
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
180 | /// this accommodates types that can be `==` without being identical).
| ++
|
replacing an `Option` with `None`:
src/tree/arena.rs#L114
warning: replacing an `Option` with `None`
--> src/tree/arena.rs:114:24
|
114 | let node = core::mem::replace(&mut self.vec[idx], None);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider `Option::take()` instead: `self.vec[idx].take()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_option_with_none
= note: `#[warn(clippy::mem_replace_option_with_none)]` on by default
|
duplicated attribute:
src/lib.rs#L205
warning: duplicated attribute
--> src/lib.rs:205:9
|
205 | #![deny(missing_docs)]
| ^^^^^^^^^^^^
|
note: first defined here
--> src/lib.rs:201:43
|
201 | #![cfg_attr(not(any(test, fuzzing)), deny(missing_docs))]
| ^^^^^^^^^^^^
help: remove this attribute
--> src/lib.rs:205:9
|
205 | #![deny(missing_docs)]
| ^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#duplicated_attributes
= note: `#[warn(clippy::duplicated_attributes)]` on by default
|
unused import: `macros::*`:
src/lib.rs#L228
warning: unused import: `macros::*`
--> src/lib.rs:228:9
|
228 | pub use macros::*;
| ^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unexpected `cfg` condition name: `fuzzing`:
src/tree/mod.rs#L12
warning: unexpected `cfg` condition name: `fuzzing`
--> src/tree/mod.rs:12:7
|
12 | #[cfg(fuzzing)]
| ^^^^^^^
|
= 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(fuzzing)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` 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
|
unexpected `cfg` condition name: `fuzzing`:
src/tree/mod.rs#L8
warning: unexpected `cfg` condition name: `fuzzing`
--> src/tree/mod.rs:8:7
|
8 | #[cfg(fuzzing)]
| ^^^^^^^
|
= 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(fuzzing)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` 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
|
unexpected `cfg` condition name: `fuzzing`:
src/lib.rs#L208
warning: unexpected `cfg` condition name: `fuzzing`
--> src/lib.rs:208:7
|
208 | #[cfg(fuzzing)]
| ^^^^^^^
|
= 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(fuzzing)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` 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
|
unexpected `cfg` condition name: `fuzzing`:
src/lib.rs#L201
warning: unexpected `cfg` condition name: `fuzzing`
--> src/lib.rs:201:27
|
201 | #![cfg_attr(not(any(test, fuzzing)), deny(missing_docs))]
| ^^^^^^^
|
= 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(fuzzing)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` 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
|
unexpected `cfg` condition name: `fuzzing`:
src/lib.rs#L200
warning: unexpected `cfg` condition name: `fuzzing`
--> src/lib.rs:200:27
|
200 | #![cfg_attr(not(any(test, fuzzing)), no_std)]
| ^^^^^^^
|
= help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `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(fuzzing)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` 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
|