From 6fda22249ab4b4cc563278e69863ec3251514d4b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 14 Jan 2025 12:48:21 +0100 Subject: [PATCH] Automatic toolchain upgrade to nightly-2025-01-11 (#3830) Update Rust toolchain from nightly-2025-01-10 to nightly-2025-01-11 without any other source changes. --------- Co-authored-by: celinval <35149715+celinval@users.noreply.github.com> Co-authored-by: Qinheping Hu --- rust-toolchain.toml | 2 +- tools/compiletest/src/runtest.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index d2eabca59e8c..865fbf2a6c96 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -2,5 +2,5 @@ # SPDX-License-Identifier: Apache-2.0 OR MIT [toolchain] -channel = "nightly-2025-01-10" +channel = "nightly-2025-01-11" components = ["llvm-tools", "rustc-dev", "rust-src", "rustfmt"] diff --git a/tools/compiletest/src/runtest.rs b/tools/compiletest/src/runtest.rs index 5439942b195e..36a83a94e23e 100644 --- a/tools/compiletest/src/runtest.rs +++ b/tools/compiletest/src/runtest.rs @@ -611,7 +611,7 @@ impl TestCx<'_> { let coverage_path = coverage_info .unwrap() .split(' ') - .last() + .next_back() .expect("couldn't retrieve path to the coverage results"); PathBuf::from(coverage_path) }