Skip to content

Commit

Permalink
Use higher nightly for public-api test
Browse files Browse the repository at this point in the history
  • Loading branch information
jwiesler committed May 30, 2024
1 parent 7ca68b7 commit 989167f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/public_api.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#[test]
fn public_api() {
let version = "1.74.0-nightly"

Check failure on line 3 in tests/public_api.rs

View workflow job for this annotation

GitHub Actions / format

expected `;`, found `rustup_toolchain`

Check failure on line 3 in tests/public_api.rs

View workflow job for this annotation

GitHub Actions / verify-codegen

expected `;`, found `rustup_toolchain`
// 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();
Expand Down

0 comments on commit 989167f

Please sign in to comment.