summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-21554.stderr
blob: 6ea552a26a5cb134c534824976d17d70e0ae9f40 (plain)
1
2
3
4
5
6
7
8
9
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`.