rust/tests/ui/issues/issue-21554.stderr
2023-01-11 09:32:08 +00:00

10 lines
261 B
Plaintext

error[E0606]: casting `fn(i32) -> Inches {Inches}` as `f32` is invalid
--> $DIR/issue-21554.rs:4:5
|
LL | Inches as f32;
| ^^^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0606`.