Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0456
Type parameter '{1}' has the 'struct' constraint so '{1}' cannot be used as a constraint for '{0}'