The TVTropes Trope Finder is where you can come to ask questions like "Do we have this one?" and "What's the trope about...?" Trying to rediscover a long lost show or other medium but need a little help? Head to Media Finder and try your luck there. Want to propose a new trope? You should be over at You Know, That Thing Where.
It's not specifically about dreams, but you could probably call it an inverted The Un-Reveal.
From its Playing With page under Inverted: "The information is revealed to the viewer, but not the characters."
(In your example, I'd say forgetting the reveal immediately is the identical to having never seen it.)
It also counts as a played with version of Trauma-Induced Nightmare.
Current Project: Incorruptible Pure Pureness
Is there a trope for a character who has trauma based amnesia, dreams about his past but always forgets it in the morning?