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) }