Removes unnecessary type mismatch error from test that was hiding borrow check error from NLL stderr.