Closed
Description
let path = Path::new("/tmp/foo/bar.txt");
println!("{}", path);
gives
= note: `std::path::Path` cannot be formatted with the default formatter; try using `:?` instead if you are using a format string
= note: required because of the requirements on the impl of `std::fmt::Display` for `&std::path::Path`
= note: required by `std::fmt::Display::fmt`
It would be nice if rustc suggested calling display() on the path.