fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: the trait bound `f64: Eq` is not satisfied 2 --> $DIR/issue-103157.rs:6:11 3 | 4LL | #[derive(PartialEq, Eq)] 5 | -- in this derive macro expansion 6... 7LL | Float(Option<f64>), 8 | ^^^^^^^^^^^ the trait `Eq` is not implemented for `f64` 9 | 10 = help: the following other types implement trait `Eq`: 11 isize 12 i8 13 i16 14 i32 15 i64 16 i128 17 usize 18 u8 19 and 4 others 20 = note: required for `Option<f64>` to implement `Eq` 21note: required by a bound in `AssertParamIsEq` 22 --> $SRC_DIR/core/src/cmp.rs:LL:COL 23 = note: this error originates in the derive macro `Eq` (in Nightly builds, run with -Z macro-backtrace for more info) 24 25error: aborting due to previous error 26 27For more information about this error, try `rustc --explain E0277`.