diff --git a/crates/compiler/load_internal/src/file.rs b/crates/compiler/load_internal/src/file.rs index 87f132b2082..a9b70ba169b 100644 --- a/crates/compiler/load_internal/src/file.rs +++ b/crates/compiler/load_internal/src/file.rs @@ -1949,7 +1949,7 @@ fn worker_task_step<'a>( match result { Ok(()) => {} Err(LoadingProblem::ChannelProblem(problem)) => { - panic!("Channel problem: {:?}", problem); + panic!("Channel problem: {problem:?}"); } Err(LoadingProblem::ParsingFailed(problem)) => { msg_tx.send(Msg::FailedToParse(problem)).unwrap(); @@ -2048,7 +2048,7 @@ fn worker_task<'a>( match result { Ok(()) => {} Err(LoadingProblem::ChannelProblem(problem)) => { - panic!("Channel problem: {:?}", problem); + panic!("Channel problem: {problem:?}"); } Err(LoadingProblem::ParsingFailed(problem)) => { msg_tx.send(Msg::FailedToParse(problem)).unwrap();