]> git.proxmox.com Git - rustc.git/blame - src/test/ui/float-literal-inference-restrictions.rs
New upstream version 1.57.0+dfsg1
[rustc.git] / src / test / ui / float-literal-inference-restrictions.rs
CommitLineData
223e47cc
LB
1fn main() {
2 let x: f32 = 1; //~ ERROR mismatched types
1a4d82fc 3 let y: f32 = 1f64; //~ ERROR mismatched types
223e47cc 4}