diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 2c9d4b842f75..4286e45b410c 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-04-02" +channel = "nightly-2025-04-03" components = ["llvm-tools", "rustc-dev", "rust-src", "rustfmt"] diff --git a/tests/coverage/abort/expected b/tests/coverage/abort/expected index e9c9727a6f03..0334841a880e 100644 --- a/tests/coverage/abort/expected +++ b/tests/coverage/abort/expected @@ -14,7 +14,7 @@ 14| 1| }\ 15| 1| if i == 2 {\ 16| | // This should never happen.\ - 17| 0| ```process::exit(1)''';\ + 17| 0| ```process::exit'''(1);\ 18| 1| } \ 19| | }\ 20| 0| ```assert!'''(false, ```"This is unreachable"''');\ diff --git a/tests/coverage/known_issues/variant/expected b/tests/coverage/known_issues/variant/expected index 6445c038f060..a42769c39f40 100644 --- a/tests/coverage/known_issues/variant/expected +++ b/tests/coverage/known_issues/variant/expected @@ -16,12 +16,12 @@ 16| 1| fn print_direction(dir: Direction) {\ 17| | // For some reason, `dir`'s span is reported as `UNCOVERED` too\ 18| 0| match ```dir''' {\ - 19| 0| Direction::Up => ```println!("Going up!")''',\ - 20| 0| Direction::Down => ```println!("Going down!")''',\ + 19| 0| Direction::Up => ```println!("Going up!"'''),\ + 20| 0| Direction::Down => ```println!("Going down!"'''),\ 21| 1| Direction::Left => println!("Going left!"),\ - 22| 0| Direction::Right if 1 == ```1 => println!("Going right!")''',\ + 22| 0| Direction::Right if 1 == ```1 => println!("Going right!"'''),\ 23| | // This part is unreachable since we cover all variants in the match.\ - 24| 0| _ => ```println!("Not going anywhere!")''',\ + 24| 0| _ => ```println!("Not going anywhere!"'''),\ 25| | }\ 26| | }\ 27| | \