Closed
Description
Problem
I wanted to update an old project to the 2018 edition (on Windows 10.0.1809.0), so I ran cargo fix --edition
. However, even though my project is under source control, it says it's not:
Patrik@SPECTRE-3 [C:\Users\Patrik\Source\Git\cake-build\cakeup] [master ≡]
> cargo fix --edition
error: no VCS found for this package and `cargo fix` can potentially perform destructive changes; if you'd like to suppress this error pass `--allow-no-vcs`
Of course I can use the --allow-no-vcs
flag, so it's not really a problem but thought I should report this anyway.
Steps
- Update the toolchain by running
rustup update
- Clone
git@github.com:cake-build/cakeup.git
- Run
cargo fix --edition
Notes
Output of cargo version
:
cargo 1.33.0 (f099fe94b 2019-02-12)