GitHub Actions / clippy
failed
Jan 10, 2025 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.86.0-nightly (824759493 2025-01-09)
- cargo 1.86.0-nightly (fd784878c 2025-01-03)
- clippy 0.1.85 (8247594932 2025-01-09)
Annotations
Check failure on line 37 in azalea-physics/src/fluids.rs
github-actions / clippy
mismatched types
error[E0308]: mismatched types
--> azalea-physics/src/fluids.rs:37:65
|
37 | .and_then(|d| d.map.get(instance_name).and_then(|d| d.ultrawarm))
| ^^^^^^^^^^^ expected `Option<_>`, found `bool`
|
= note: expected enum `std::option::Option<_>`
found type `bool`
help: try wrapping the expression in `Some`
|
37 | .and_then(|d| d.map.get(instance_name).and_then(|d| Some(d.ultrawarm)))
| +++++ +
Loading