summaryrefslogtreecommitdiffstats
path: root/tests/ui/cast/cast-errors-issue-43825.rs
blob: 00e0da44bbf9f173eb24bce3816fa2a0c9a1310e (plain)
1
2
3
4
5
6
7
fn main() {
    let error = error; //~ ERROR cannot find value `error`

    // These used to cause errors.
    0 as f32;
    0.0 as u32;
}