Skip to content

Commit

Permalink
Drop "dissimilar" feature, keeping only "diff"
Browse files Browse the repository at this point in the history
Previously, a dependency `trybuild = { features = ["dissimilar"] }`
would compile (and silently have no effect). The correct usage is
`trybuild = { features = ["diff"] }` and is independent of the name of
the underlying library being used for the diff computations.
  • Loading branch information
dtolnay committed Dec 8, 2024
1 parent 9634026 commit ddfbe47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rust-version = "1.70"
# Experimental: highlight the diff between the expected and actual compiler
# output. Currently unix-only. If you test this out, please provide any feedback
# in https://github.com/dtolnay/trybuild/issues/41.
diff = ["dissimilar"]
diff = ["dep:dissimilar"]

[dependencies]
dissimilar = { version = "1.0", optional = true }
Expand Down

0 comments on commit ddfbe47

Please sign in to comment.