WARNING: The following article contains spoilers for Marvel's Ant-Man and The Wasp, in theaters now.
The Marvel Cinematic Universe has had issues for years with how, exactly, its timeline fits together, which is a natural issue when you're mixing together the continuity of over a dozen films into one cohesive timeline. And, as such, it appears as though the ending of Ant-Man and The Wasp might have hit a bit of a snag in the overall timeline of the MCU.
At issue is how, precisely, Ant-Man and The Wasp fits into the sequence of events established in Avengers: Infinity War, and whether it actually fits into the sequence at all.
During Avengers: Infinity War, when someone wonders where Hawkeye (Clint Barton) and Ant-Man (Scott Lang), it was explained that, following the fight between Cap's rogue group of Avengers and Iron Man's Sokovia Accords-certified Avengers, Ant-Man and Hawkeye took plea deals due to their respective families. Since they are under house arrest, they cannot participate in the fight in Infinity War.
That's important, because it therefore nominally locks Infinity War into at least beginning while Scott Lang is still under house arrest. Ant-Man and the Wasp takes place in the last three days before Scott's house arrest ends, with Hope Van Dyne (Wasp) and her father, Hank Pym, breaking Scott out of his house arrest confinement because they need his help to save Janet Van Dyne from the Quantum Realm. They manage to save her in precisely three days. We know this because, at the end of the film, Scott is released from his house arrest, as his time is up.
Avengers: Infinity War, meanwhile, appears to also take place over the course of a few days. This is where the tricky part comes in.