Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Announcing Rust 1.20. Parent comment
Here's the compiler error that you'd get:
error[E0308]: mismatched types --> src/main.rs:7:13 | 7 | foo32(x); | ^ expected f32, found f64 error[E0308]: mismatched types --> src/main.rs:13:13 | 13 | foo64(x); | ^ expected f64, found f32
There are no comments on this comment yet.
Here's the compiler error that you'd get: