8 lines
129 B
Rust
8 lines
129 B
Rust
|
|
use std::path::Path;
|
||
|
|
|
||
|
|
fn main() {
|
||
|
|
let path = Path::new("/tmp/foo/bar.txt");
|
||
|
|
println!("{}", path);
|
||
|
|
//~^ ERROR E0277
|
||
|
|
}
|