Skip to content

Commit ddfbe47

Browse files
committed
Drop "dissimilar" feature, keeping only "diff"
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.
1 parent 9634026 commit ddfbe47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ rust-version = "1.70"
1616
# Experimental: highlight the diff between the expected and actual compiler
1717
# output. Currently unix-only. If you test this out, please provide any feedback
1818
# in https://github.com/dtolnay/trybuild/issues/41.
19-
diff = ["dissimilar"]
19+
diff = ["dep:dissimilar"]
2020

2121
[dependencies]
2222
dissimilar = { version = "1.0", optional = true }

0 commit comments

Comments
 (0)