Skip to content

Commit b5894ed

Browse files
committed
Another clippy fix
1 parent cc0c3ba commit b5894ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/compiletest/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ fn make_test_closure(config: &Config, testpaths: &TestPaths) -> test::TestFn {
566566

567567
/// Print a message and error out without panicking
568568
fn fatal_error(message: &str) {
569-
println!("error: {}", message);
569+
println!("error: {message}");
570570
// Use resume_unwind instead of panic!() to prevent a panic message + backtrace from
571571
// compiletest, which is unnecessary noise.
572572
std::panic::resume_unwind(Box::new(()));

0 commit comments

Comments
 (0)