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.
commit89c0998aee1717dff8b6afe712e52b576c496257
authorMichael Davis <mcarsondavis@gmail.com>
dateSun 22 May 2022, 19:13 (4 years ago)
parent92df5a5
.github/workflows/msrv-rust-toolchain.toml+1−1
@@ -1,3 +1,3 @@
11[toolchain]
2−channel = "1.60.0"
2+channel = "1.57.0"
33components = ["rustfmt", "rust-src"]
helix-view/src/handlers/dap.rs+3−1
@@ -302,7 +302,9 @@ impl Editor {
302302 .arg(arguments.args.join(" "))
303303 .spawn()
304304 .unwrap(),
305− e => panic!("Error to start debug console: {}", e),
305+ // TODO replace the pretty print {:?} with a regular format {}
306+ // when the MSRV is raised to 1.60.0
307+ e => panic!("Error to start debug console: {:?}", e),
306308 })
307309 } else {
308310 std::process::Command::new("tmux")