Cargo Features

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

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

syn-error default = syn

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.

syn syn-error

Enables syn ^1