I'm going to assume for the sake of argument that White has pressed the clock after doing this. (According to article 7.5.1, "An illegal move is completed once the player has pressed his clock" so it would seem that this is a requirement for an illegal move.)
According to the FIDE Laws of Chess article 4.7:
The move is considered to have been made in the case of...
4.7.3 promotion, when the player's hand has released the new piece on the square of promotion and the pawn has been removed from the board.
So the previous move has not been "made" yet. And according to article 1.2:
The player with the light-coloured pieces (White) makes the first move, then the players move alternately...
Black has not yet "made" their move, so White is not moving alternately, which is in violation of the rules.
But not every rule violation is an illegal move. "Illegal move" has a definition:
3.10.1 A move is legal when all the relevant requirements of Articles 3.1 – 3.9 have been fulfilled.
3.10.2 A move is illegal when it fails to meet the relevant requirements of Articles 3.1 – 3.9
Strictly speaking, the requirement to move alternately is not mentioned in 3.1 - 3.9. It's in 1.2.
But, 7.5.3 states:
If the player presses the clock without making a move, it shall be considered and penalized as if an illegal move.
Now the question becomes: Has White made a move? I would say that no, you cannot make a move if you do not "have the move". I would therefore say that White has pressed the clock without making a move.
So, in conclusion, White shall be considered and penalized as if they had made an illegal move.