Errors upgrading the turtle crate to the 2018 edition #60222
Labels
A-edition-2018
Area: The 2018 edition
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
Hi,
I was updating the turtle crate to the 2018 edition (following the instructions in the guide) and I got the error message below. It instructed me to open this issue, and I always do whatever rustc says, so here you go. 😄
I think a lot of these have to do with me renaming the rand crate to
rand_crate
usingextern crate rand as rand_crate
. This caused a lot of issues becausecargo fix --edition
removed that line without adequately replacing it everywhere.Here's a link to the source code just before I started the upgrade: https://github.com/sunjay/turtle/tree/05a5fa118b154c5504bfc9fb770081c2846dd80d
The text was updated successfully, but these errors were encountered: