It is doubtful that they would reject it out of hand, but possible they won't process it as an incomplete submission. If the submission was through an online system, see if you can update your submission. You might also contact the editor directly and ask for advice, providing you can get contact information.
But, failing that, I suspect that it will be noted and you might be contacted.
If it is rejected (desk rejected), it would probably be done quickly and then you can take further action. You might be told why it was rejected and you might then be able to resubmit.
I suspect that such things happen frequently enough that the journal has procedures for dealing with it. You may learn something quite soon, perhaps directly and perhaps via the submission system itself.