summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-21554.rs
blob: c176b1247cea9a386bf093c857ac7f22c6f29e43 (plain)
1
2
3
4
5
6
struct Inches(i32);

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