You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rust code isn’t always compiled via Cargo, and it’s surprisingly hard to figure out that Rust 2018 is not the default for rustc and that you can run rustc --edition=2018. This ought to be documented somewhere and the Edition Guide seems like a good place.
The text was updated successfully, but these errors were encountered:
Rust code isn’t always compiled via Cargo, and it’s surprisingly hard to figure out that Rust 2018 is not the default for
rustc
and that you can runrustc --edition=2018
. This ought to be documented somewhere and the Edition Guide seems like a good place.The text was updated successfully, but these errors were encountered: