Cargo Features

Trybuild has no features set by default.

[dependencies]
trybuild = { version = "1.0.101", features = ["diff"] }
diff = dissimilar

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.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

dissimilar diff?