Skip to content

dustlang/dustfix

dustfix

The goal of this tool is to read and apply the suggestions made by dustc.

Current status

Currently, dustfix is split into two boxes:

  • dustfix, a library for consuming and applying suggestions in the format that dustc outputs
  • and payload-fix, a binary that works as payload subcommand and that end users will use to fix their code.

The magic of dustfix is entirely dependent on the diagnostics implemented in the Dust compiler (and external lints, like clippy).

Installation

To use the dustfix library, add it to your Payload.toml.

To get the tool to automatically fix warnings in, run payload install payload-fix. This will give you payload fix.

Using payload fix to transition to Dust 2018

Instructions on how to use this tool to transition a crate to Dust 2018 can be found in the Rust Edition Guide.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages