[std.ArrayList] return explicit errors

All errors from std.ArrayList are allocation errors. Mark them as such.
This is helpful when one wants to obtain a function pointer.
e620b692c6Motiejus Jakštys committed on 2/22/2022, 6:57:51 PM· committed by Andrew Kelleyparentdf38c46
1 file changedLine totals unavailable