Skip to content
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy failed May 8, 2023 in 0s

clippy

2 errors

Details

Results

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

Versions

  • rustc 1.71.0-nightly (c4190f2d3 2023-05-07)
  • cargo 1.71.0-nightly (569b648b5 2023-05-05)
  • clippy 0.1.71 (c4190f2 2023-05-07)

Annotations

Check failure on line 81 in src/track.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

error[E0308]: mismatched types
  --> src/track.rs:78:35
   |
78 |               LoopState::Enabled => {
   |  ___________________________________^
79 | |                 current.enable_loop()?;
80 | |                 c.say("Looping enabled").await?;
81 | |             }
   | |_____________^ expected `Result<(), _>`, found `()`
   |
   = note:   expected enum `std::result::Result<(), _>`
           found unit type `()`

Check failure on line 77 in src/track.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

error[E0308]: mismatched types
  --> src/track.rs:74:36
   |
74 |               LoopState::Disabled => {
   |  ____________________________________^
75 | |                 current.disable_loop()?;
76 | |                 c.say("Looping disabled").await?;
77 | |             }
   | |_____________^ expected `Result<(), _>`, found `()`
   |
   = note:   expected enum `std::result::Result<(), _>`
           found unit type `()`