rust/tests/ui/path_buf_push_overwrite.fixed

8 lines
112 B
Rust
Raw Normal View History

2019-04-13 18:47:46 +02:00
// run-rustfix
use std::path::PathBuf;
fn main() {
let mut x = PathBuf::from("/foo");
x.push("bar");
}