Today I learnt that `cargo fix` won't fix code with compiler errors by default, but you can override this!
$ cargo fix --broken-code --allow-dirty && cargo clippy --fix --allow-dirty
This incantation does exactly what I wanted :)
miniblog.
Related Posts
I've released difftastic 0.47! In this release:
* Language detection is now completely overridable. You can do things like DFT_OVERRIDE='*.json:yaml' to treat all .json files as YAML.
* Added support for the Solidity language.
I *love* that GitHub's Ctrl-F search still gives you the option of going back to the browser text search!
It's reasonable to override Ctrl-F in a website, but sometimes you really do want the normal browser tooling.
The different layers of the Nix ecosystem, and the overlay system to allow downstream users to override (c.f. dynamic binding):

