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