In Moses 4, the Lord informs Adam that if he partakes of the fruit, he will die.
Moses 4:9, 25, 28, Pearl of Great Price, The Church of Jesus Christ of Latter-Day Saints, accessed February 10, 2022
9 But of the fruit of the tree which thou beholdest in the midst of the garden, God hath said—Ye shall not eat of it, neither shall ye touch it, lest ye die.
. . .
25 By the sweat of thy face shalt thou eat bread, until thou shalt return unto the ground—for thou shalt surely die—for out of it wast thou taken: for dust thou wast, and unto dust shalt thou return.
. . .
28 And I, the Lord God, said unto mine Only Begotten: Behold, the man is become as one of us to know good and evil; and now lest he put forth his hand and partake also of the tree of life, and eat and live forever,