package.edition
gives confusing error when integer passed instead of string
#11132
Labels
C-bug
Category: bug
Problem
With the following in
Cargo.toml
:package.edition = 2021
You get the below error:
Ideally, this would point out to the user that only strings are allowed, not integers, since the current edition markers are all integer years.
The text was updated successfully, but these errors were encountered: