Open
Description
For e.g:
struct S {}
var arr: [S] = []
arr += S() // error: Operator function '+=' requires that 'S' conform to 'Sequence'
The diagnostic isn't too helpful. More helpful would be suggesting using [S()]
(which could be a general fix where we attempt to match types using an array instead), though I think the ideal suggestion in this case would be to use append
instead.