2023-04-23 06:03:09 -05:00
|
|
|
//@run-rustfix
|
2019-04-13 11:47:46 -05:00
|
|
|
use std::path::PathBuf;
|
|
|
|
|
2019-04-21 08:22:06 -05:00
|
|
|
#[warn(clippy::all, clippy::path_buf_push_overwrite)]
|
2019-04-13 11:47:46 -05:00
|
|
|
fn main() {
|
|
|
|
let mut x = PathBuf::from("/foo");
|
|
|
|
x.push("/bar");
|
|
|
|
}
|