From d6ceae0fd89ad0f9e882aea1f9e92dff673fcfba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E6=9D=B0=E5=8F=8B=20Jieyou=20Xu=20=28Joe=29?= <39484203+jieyouxu@users.noreply.github.com> Date: Tue, 10 Dec 2024 21:02:49 +0800 Subject: [PATCH] Adjust `rustc_bootstap.rs` ui test - Fixed test name, it should've been `rustc_bootstrap.rs`, oops. - Slightly reworded test comment to make it more clear. --- ...orce_stable.stderr => rustc_bootstrap.force_stable.stderr} | 0 tests/ui/bootstrap/{rustc_bootstap.rs => rustc_bootstrap.rs} | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename tests/ui/bootstrap/{rustc_bootstap.force_stable.stderr => rustc_bootstrap.force_stable.stderr} (100%) rename tests/ui/bootstrap/{rustc_bootstap.rs => rustc_bootstrap.rs} (89%) diff --git a/tests/ui/bootstrap/rustc_bootstap.force_stable.stderr b/tests/ui/bootstrap/rustc_bootstrap.force_stable.stderr similarity index 100% rename from tests/ui/bootstrap/rustc_bootstap.force_stable.stderr rename to tests/ui/bootstrap/rustc_bootstrap.force_stable.stderr diff --git a/tests/ui/bootstrap/rustc_bootstap.rs b/tests/ui/bootstrap/rustc_bootstrap.rs similarity index 89% rename from tests/ui/bootstrap/rustc_bootstap.rs rename to tests/ui/bootstrap/rustc_bootstrap.rs index 3d792ef4be4e..daa28e0cdf29 100644 --- a/tests/ui/bootstrap/rustc_bootstap.rs +++ b/tests/ui/bootstrap/rustc_bootstrap.rs @@ -1,5 +1,5 @@ -//! Check `RUSTC_BOOTSTRAP`'s behavior in relation to feature stability and what rustc considers -//! itself to be (stable vs non-stable ). +//! Check the compiler's behavior when the perma-unstable env var `RUSTC_BOOTSTRAP` is set in the +//! environment in relation to feature stability and which channel rustc considers itself to be. //! //! `RUSTC_BOOTSTRAP` accepts: //!