librustc: Make sure we don't leave partially constructed values during failure.