-error[E0271]: type mismatch resolving `<f32 as std::str::FromStr>::Err == std::num::ParseIntError`
- --> $DIR/termination-trait-test-wrong-type.rs:7:9
- |
-LL | "0".parse()
- | ^^^^^ expected struct `std::num::ParseFloatError`, found struct `std::num::ParseIntError`
- |
- = note: expected type `std::num::ParseFloatError`
- found type `std::num::ParseIntError`
-
-error: aborting due to 2 previous errors