WARNING: The following article contains spoilers for Captain Marvel, in theaters now.
The filmmakers behind Captain Marvel considered ending the movie with a funny tie-in to Thor: Ragnarok, but the post-credits stinger didn't end up seeing the light of day.
Instead of a post-credits scene that featured Goose the Flerken/cat coughing up the Tesseract, co-director Ryan Fleck revealed that an early post-credits scene concept had Jude Law's Yon-Rogg, who was sent back to Hala in disgrace by Brie Larson's Carol Danvers, crash-landing on Sakaar, the junk planet from Ragnarok instead.
"There was an idea on the table about having Jude Law […] emerge from his pod on Sakaar," Fleck said to Empire Online, "and then have him look around and see the Devil's Anus behind him and wonder, 'Where the hell am I?'"
The Devil's Anus is, of course, the wormhole that brought Bruce Banner and Thor to the planet, and it's what the heroes used to escape that world and fly right into Thanos' waiting attack in Avengers: Infinity War.
While it's not clear if Yon-Rogg would've been conscripted into the Grandmaster's Contest of Champions, the stinger that Fleck and fellow director Anna Boden ultimately went with has a much stronger connection to Captain Marvel. It also finally confirmed how Nick Fury and S.H.I.E.L.D. got their hands on the Tesseract in 2012's The Avengers.
Directed by Anna Boden and Ryan Fleck from a script they wrote with Liz Flahive, Carly Mensch, Meg LeFauve, Nicole Perlman and Geneva Robertson-Dworet, Captain Marvel stars Brie Larson as Carol Danvers, Samuel L. Jackson as Nick Fury, Jude Law as the commander of Starforce, Clark Gregg as Phil Coulson, Lee Pace as Ronan the Accuser, Djimon Hounsou as Korath the Pursuer, Gemma Chan as Minn-Erva, Ben Mendelsohn as Talos, Lashana Lynch as Maria Rambeau, Algenis Perez Soto as Att-Lass, McKenna Grace as a young Carol Danvers and Annette Bening as the Supreme Intelligence.