cargo/crates/rustfix
Weihang Lo 95edc06e5b
fix(rustfix): dont apply same suggestion twice
This assumes that if any of the machine applicable fixes in
a diagnostic suggestion is a duplicate, we should see the
entire suggestion as a duplicate.
2024-04-10 11:54:33 -04:00
..
examples chore(rustfix): remove useless clippy rules 2023-12-18 20:17:05 +08:00
proptest-regressions
src fix(rustfix): dont apply same suggestion twice 2024-04-10 11:54:33 -04:00
tests fix(rustfix): dont apply same suggestion twice 2024-04-10 11:54:33 -04:00
CHANGELOG.md chore(rustfix): rename `Changelog.md` to `CHANGELOG.md` 2023-12-18 20:05:52 +08:00
Cargo.toml chore(deps): update compatible 2024-04-02 15:23:20 -05:00
LICENSE-APACHE Switch rustfix license files to be symlinks 2023-11-18 18:31:08 -08:00
LICENSE-MIT Switch rustfix license files to be symlinks 2023-11-18 18:31:08 -08:00
README.md chore(rustfix): rename `Readme.md` to `README.md` 2023-12-18 20:04:50 +08:00

README.md

rustfix

Latest Version Rust Documentation

Rustfix is a library defining useful structures that represent fix suggestions from rustc.

This is a low-level library. You pass it the JSON output from rustc, and you can then use it to apply suggestions to in-memory strings. This library doesn't execute commands, or read or write from the filesystem.

If you are looking for the cargo fix implementation, the core of it is located in cargo::ops::fix.

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.