סימן צד סעיף כז
אִם חָל יוֹם טוֹב בְּעֶרֶב שַׁבָּת וְנִתְקַלְקֵל אָז הָעֵרוּב, אַף עַל גַּב דְּהָעֵרוּב מוֹעִיל גַּם לְיוֹם טוֹב לְעִנְיַן דְּבָרִים שֶׁאֵינָם לְצֹרֶךְ (כְּדִלְקַמָּן סִימָן צ"ח סָעִיף ל"ד), לֹא אָמְרֵינָן, הוֹאִיל וְהֻתַּר לְיוֹם טוֹב, הֻתַּר גַּם לַשַׁבָּת, מִשּׁוּם דְּיוֹם טוֹב וְשַׁבָּת, שְׁתֵּי קְדֻשּׁוֹת הֵן (מג"א סִימָן שס"ג).
If a Yom Tov occurs on erev Shabbos and the eiruv became defective,72If it breaks on Yom Tov, you may not ask a non-Jew to repair it on Yom Tov, for this is not as great a necessity as on Shabbos. [Magein Avraham 363: 4] even though the eiruv serves a need also on Yom Tov [of permitting you to carry] articles you do not need [on Yom Tov], still we do not say that since it was permitted on Yom Tov73We do not say since it was permitted on Yom Tov to carry objects that are not needed on Yom Tov, because of the principle of “Once it was permitted on that day, it continues to be permitted,” it should, therefore, also be permitted on Shabbos. it should also be permitted on Shabbos, because Yom Tov and Shabbos have two [distinctly different] characters of holiness.74Magein Avraham 363: 4.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)