]> git.lizzy.rs Git - rust.git/blob - src/test/ui/float-literal-inference-restrictions.rs
Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' into clippyup
[rust.git] / src / test / ui / float-literal-inference-restrictions.rs
1 fn main() {
2     let x: f32 = 1; //~ ERROR mismatched types
3     let y: f32 = 1f64; //~ ERROR mismatched types
4 }