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.
pull/2554/head
Michael Davis 3 years ago committed by Blaž Hrastnik
parent 92df5a5425
commit 89c0998aee

@ -1,3 +1,3 @@
[toolchain]
channel = "1.60.0"
channel = "1.57.0"
components = ["rustfmt", "rust-src"]

@ -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")

Loading…
Cancel
Save