use PatKind::Error when an ADT const value has violation
#116522
Merged
PatKind::Error when an ADT const value has violation
#116522