Cargo Features

TRYBUILD2 has no features set by default.

[dependencies]
trybuild2 = { version = "1.2.0", 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?