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

Explicitly state edition in rustfmt.toml #517

Merged
merged 1 commit into from
Apr 5, 2023
Merged

Conversation

Niederb
Copy link
Contributor

@Niederb Niederb commented Apr 5, 2023

Explicitly state the edition as CLion is somehow not able to correctly pick up the edition when using rustfmt.
I guess rustfmt is not being executed with cargo and then it defaults to 2015:
https://rust-lang.github.io/rustfmt/?version=v1.5.1&search=#edition
Then CLion constantly complains when using newer features such as async...

@Niederb Niederb added the E0-silent Will not be mentioned in the release label Apr 5, 2023
@Niederb Niederb requested review from haerdib and echevrier April 5, 2023 07:18
@Niederb Niederb merged commit 7bed987 into master Apr 5, 2023
@Niederb Niederb deleted the tn/add-edition-rustfmt branch April 5, 2023 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E0-silent Will not be mentioned in the release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants