blob: e7222e5cb285232b60b6b3ea60ae3efe1d09a80f [file] [edit]
warning: falling back to `f32` as the trait bound `f32: From<f64>` is not satisfied
--> $DIR/float-fallback-hack-depth.rs:18:19
|
LL | impls_trait(W(1.0))
| ^^^ help: explicitly specify the type as `f32`: `1.0_f32`
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #154024 <https://github.com/rust-lang/rust/issues/154024>
= note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default
warning: 1 warning emitted