Skip to content

add required-version option to rustfmt.toml #2048

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

Merged
merged 3 commits into from
Oct 20, 2017
Merged

add required-version option to rustfmt.toml #2048

merged 3 commits into from
Oct 20, 2017

Conversation

japaric
Copy link
Member

@japaric japaric commented Oct 9, 2017

This option specifies the rustfmt version that must be used to format the code. Trying to use a
different version raises an error.

closes #1505

This option specifies the rustfmt version that *must* be used to format the code. Trying to use a
different version raises an error.

closes #1505
@nrc nrc merged commit 9754bcb into rust-lang:master Oct 20, 2017
@nrc
Copy link
Member

nrc commented Oct 20, 2017

Looks good, thank you! And sorry for the delayed review/merge

@boozook
Copy link

boozook commented Oct 27, 2023

There should be semver match instead of just eq, I suppose.

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

Successfully merging this pull request may close these issues.

Configuration option to specify required version
3 participants