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

7 lines
77 B
Rust

struct Inches(i32);
fn main() {
Inches as f32;
//~^ ERROR casting
}