The pan : small recipient on the side of a matchlock firearm A flash in the pan : When the pan's black powder content catches fire but the fire fails to propagate to the powder inside the barrel. Hence : a failure.