Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention ‘rustc --edition=2018’ #156

Open
andersk opened this issue Apr 21, 2019 · 1 comment
Open

Mention ‘rustc --edition=2018’ #156

andersk opened this issue Apr 21, 2019 · 1 comment

Comments

@andersk
Copy link

andersk commented Apr 21, 2019

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.

@dclong
Copy link

dclong commented Oct 23, 2021

And the same problem happens for edition 2021 now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants