Skip to content

WIP WebSocket API

WIP WebSocket API #341

GitHub Actions / clippy failed Jun 5, 2024 in 0s

clippy

1 error

Details

Results

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

Versions

  • rustc 1.80.0-nightly (a330e4959 2024-06-04)
  • cargo 1.80.0-nightly (7a6fad098 2024-05-31)
  • clippy 0.1.80 (a330e49 2024-06-04)

Annotations

Check failure on line 74 in hook/src/hooks/ws.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

variants `Open` and `Close` are never constructed

error: variants `Open` and `Close` are never constructed
  --> hook/src/hooks/ws.rs:74:5
   |
71 | enum EventType {
   |      --------- variants in this enum
...
74 |     Open,
   |     ^^^^
75 |     Close,
   |     ^^^^^
   |
   = note: `EventType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`