-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
Rust build fails due to unused_parens lint promoted to error:
Compiling kete_core v1.1.0 (/Users/tatianag/spherex/kete/src/kete_core)
error: unnecessary parentheses around closure body
--> src/kete_core/src/propagation/kepler.rs:54:37
|
54 | let f = |ecc_anom: f64| (ecc * ecc_anom.sinh() - ecc_anom - mean_anom);
| ^ ^
|
note: the lint level is defined here
--> src/kete_core/src/lib.rs:21:5
|
21 | unused,
| ^^^^^^
= note: `#[deny(unused_parens)]` implied by `#[deny(unused)]`
help: remove these parentheses
So kete_core is compiled with #![deny(unused)], and in newer Rust toolchains, unused_parens is considered part of unused and is now triggering a hard error.
Metadata
Metadata
Assignees
Labels
No labels