Cargo Features

[dependencies]
proc-macro-error2 = { version = "2.0.1", default-features = false, features = ["syn-error", "nightly"] }
default = syn-error

The syn-error feature is set by default whenever proc-macro-error2 is added without default-features = false somewhere in the dependency tree.

syn-error default

Enables syn

nightly

proc-macro-error2 has 3 features without comments.