mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00

review and remove ignored tests in rustfix ### What does this PR try to resolve? review ignored tests in rustfix crate per #13034. ### How should we test and review this PR? CI testing ### Additional information * Removed unproductive test in `parse_and_replace` * un-ignore proptests, and reduce runtime from ~2s to ~<.25s
rustfix
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
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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.