From 989167f1bb59ae98312503ccf8b2be832d151f90 Mon Sep 17 00:00:00 2001 From: Julian Wiesler Date: Thu, 30 May 2024 14:41:28 +0200 Subject: [PATCH] Use higher nightly for public-api test --- tests/public_api.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/public_api.rs b/tests/public_api.rs index dda32b0c5..7a4d28a42 100644 --- a/tests/public_api.rs +++ b/tests/public_api.rs @@ -1,11 +1,12 @@ #[test] fn public_api() { + let version = "1.74.0-nightly" // Install a compatible nightly toolchain if it is missing - rustup_toolchain::install(public_api::MINIMUM_NIGHTLY_RUST_VERSION).unwrap(); + rustup_toolchain::install(version).unwrap(); // Build rustdoc JSON let rustdoc_json = rustdoc_json::Builder::default() - .toolchain(public_api::MINIMUM_NIGHTLY_RUST_VERSION) + .toolchain(version) .features(["runtime-tokio-hyper"]) .build() .unwrap();