Error code E0071
A structure-literal syntax was used to create an item that is not a structure or enum variant.
Example of erroneous code:
ⓘ
To fix this, ensure that the name was correctly spelled, and that the correct form of initializer was used.
For example, the code above can be fixed to:
or: