Skip to content
GitHub Actions / clippy succeeded Nov 13, 2023 in 0s

clippy

2 warnings

Details

Results

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

Versions

  • rustc 1.73.0 (cc66ad468 2023-10-03)
  • cargo 1.73.0 (9c4383fb5 2023-08-26)
  • clippy 0.1.73 (cc66ad4 2023-10-03)

Annotations

Check warning on line 62 in src/net/data_stream.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

a `const` item should never be interior mutable

warning: a `const` item should never be interior mutable
  --> src/net/data_stream.rs:62:1
   |
62 | const BLOCK: BoxBlock<Frame> = BoxBlock::new();
   | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   | |
   | make this a static item (maybe with lazy_static)
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#declare_interior_mutable_const
   = note: `#[warn(clippy::declare_interior_mutable_const)]` on by default

Check warning on line 59 in src/net/data_stream.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

type `FRAME_POOL` should have an upper camel case name

warning: type `FRAME_POOL` should have an upper camel case name
  --> src/net/data_stream.rs:59:11
   |
59 | box_pool!(FRAME_POOL: Frame);
   |           ^^^^^^^^^^ help: convert the identifier to upper camel case: `FramePool`
   |
   = note: `#[warn(non_camel_case_types)]` on by default