From 89c0998aee1717dff8b6afe712e52b576c496257 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Sun, 22 May 2022 19:13:10 -0500 Subject: lower MSRV to 1.57.0 This line uses the Display trait for io::ErrorKind which was stabilized in Rust 1.60.0. We can set MSRV all the way back to 1.57.0 by replacing it with a pretty-print. Closes #2460. --- helix-view/src/handlers/dap.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'helix-view/src') diff --git a/helix-view/src/handlers/dap.rs b/helix-view/src/handlers/dap.rs index c7d3758d..2ea21f62 100644 --- a/helix-view/src/handlers/dap.rs +++ b/helix-view/src/handlers/dap.rs @@ -302,7 +302,9 @@ impl Editor { .arg(arguments.args.join(" ")) .spawn() .unwrap(), - e => panic!("Error to start debug console: {}", e), + // TODO replace the pretty print {:?} with a regular format {} + // when the MSRV is raised to 1.60.0 + e => panic!("Error to start debug console: {:?}", e), }) } else { std::process::Command::new("tmux") -- cgit v1.2.3-70-g09d2