1 2 3 4 5 6 7
use std::path::Path; fn main() { let path = Path::new("/tmp/foo/bar.txt"); println!("{}", path); //~^ ERROR E0277 }