v0.2.0 #22
clippy
5 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 5 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.83.0 (90b35a623 2024-11-26)
- cargo 1.83.0 (5ffbef321 2024-10-29)
- clippy 0.1.83 (90b35a6 2024-11-26)
Annotations
Check warning on line 10 in src/pinned.rs
github-actions / clippy
doc list item without indentation
warning: doc list item without indentation
--> src/pinned.rs:10:5
|
10 | //! receiver.
| ^
|
= 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
|
10 | //! receiver.
| ++
Check warning on line 8 in src/pinned.rs
github-actions / clippy
doc list item without indentation
warning: doc list item without indentation
--> src/pinned.rs:8:5
|
8 | //! time, while allowing only one writer at a time.
| ^
|
= 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
|
8 | //! time, while allowing only one writer at a time.
| ++
Check warning on line 6 in src/pinned.rs
github-actions / clippy
doc list item without indentation
warning: doc list item without indentation
--> src/pinned.rs:6:5
|
6 | //! program before continuing execution of all together.
| ^
|
= 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
|
6 | //! program before continuing execution of all together.
| ++
Check warning on line 46 in src/lib.rs
github-actions / clippy
unexpected `cfg` condition name: `documenting`
warning: unexpected `cfg` condition name: `documenting`
--> src/lib.rs:46:13
|
46 | #![cfg_attr(documenting, feature(doc_auto_cfg))]
| ^^^^^^^^^^^
|
= 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(documenting)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(documenting)");` 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
Check warning on line 45 in src/lib.rs
github-actions / clippy
unexpected `cfg` condition name: `documenting`
warning: unexpected `cfg` condition name: `documenting`
--> src/lib.rs:45:13
|
45 | #![cfg_attr(documenting, feature(doc_cfg))]
| ^^^^^^^^^^^
|
= 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(documenting)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(documenting)");` 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