Cargo Features

Trybuild has no features set by default.

trybuild = { version = "1.0.85", 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

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

dissimilar diff?